From fd8f253a8f7b3191ba3390954fbd6da164609b23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ufuk=20S=C3=BCng=C3=BC?= <32815429+ufuksungu@users.noreply.github.com> Date: Fri, 30 Nov 2018 02:49:47 +0300 Subject: [PATCH] Add files via upload --- CommandExecution/CommandExec-4.php | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 CommandExecution/CommandExec-4.php diff --git a/CommandExecution/CommandExec-4.php b/CommandExecution/CommandExec-4.php new file mode 100644 index 0000000..64eb71a --- /dev/null +++ b/CommandExecution/CommandExec-4.php @@ -0,0 +1,46 @@ + + + + CommandExec-4 + + +
+ + +
+
+

+
+
+ +
+
+
+ '', + '& ' => '', + '&& ' => '', + ';' => '', + '|' => '', + '-' => '', + '$' => '', + '(' => '', + ')' => '', + '`' => '', + '||' => '', + '/' => '', + '\\' => '', + ); + $target = str_replace(array_keys($substitutions),$substitutions,$target); + echo shell_exec($target); + if($_GET["typeBox"] == "flag") + echo "You did again! Impressive."; + } + + ?> +
+ +