SHARE
TWEET

Untitled

a guest Apr 15th, 2019 119 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /*
  3.  *
  4.  * @ This file is created by http://DeZender.Net
  5.  * @ deZender (PHP5 Decoder for ionCube Encoder)
  6.  *
  7.  * @ Version        :   3.5.0.0
  8.  * @ Author         :   DeZender
  9.  * @ Release on     :   22.06.2018
  10.  * @ Official site  :   http://DeZender.Net
  11.  *
  12.  */
  13.  
  14. ini_set('default_charset', 'UTF-8');
  15. setlocale(LC_ALL, 'UTF-8');
  16. date_default_timezone_set('Europe/Warsaw');
  17. error_reporting(0);
  18. global $botid;
  19. global $config;
  20. global $doCommand;
  21. global $cache;
  22. global $whoami;
  23. global $lang;
  24. global $serverInfo;
  25. global $clientList;
  26. global $channelsData;
  27. include 'inc/classes/languageMenager.php';
  28. $lang = new languageMenager();
  29. $lang->loadLanguagePack('polish');
  30. include 'inc/config_menager.php';
  31. include 'inc/Kernel.class.php';
  32. $kernel = new kernelMBot();
  33. $options = getopt('i:');
  34.  
  35. if (!array_key_exists('i', $options)) {
  36.     $kernel->printError($lang->getConsoleLanguage('NOT_VALID_BOT_ID'), 4, true);
  37. }
  38.  
  39. if (!is_numeric($options['i'])) {
  40.     $kernel->printError($lang->getConsoleLanguage('BOT_ID_NO_NUMERIC'), 4, true);
  41. }
  42.  
  43. $botid = $options['i'];
  44. echo $lang->getConsoleLanguage('BOT_TOP_INFOS');
  45. echo $lang->getConsoleLanguage('BOT_LOAD_CONFIG');
  46. include 'inc/configs/config.php';
  47. echo ' ' . $lang->getConsoleLanguage('DONE') . "\n";
  48. echo $lang->getConsoleLanguage('BOT_CHECK_CONFIGS');
  49.  
  50. if (checkConfigs()) {
  51. }
  52.  
  53. echo ' ' . $lang->getConsoleLanguage('DONE') . "\n";
  54. echo $lang->getConsoleLanguage('BOT_INCLUDE_CLASES') . "\n";
  55. include 'inc/classes/TeamSpeak3Menager.class.php';
  56. $ts = new TeamSpeak3Menager(getConfigValue('connection', 'server_ip'), getConfigValue('connection', 'server_query_port'), getConfigValue('connection', 'server_id'), getConfigValue('connection', 'server_query_login'), getConfigValue('connection', 'server_query_password'), getConfigValue('connection', 'commands_mode'));
  57.  
  58. if (getConfigValue('options', 'enable_database') === true) {
  59.     include 'inc/classes/database.class.php';
  60.  
  61.     try {
  62.         $sql = new Database(getConfigValue('db', 'host'), getConfigValue('db', 'user'), getConfigValue('db', 'pass'), getConfigValue('db', 'name'));
  63.     } catch (PDOException $x) {
  64.         exit($x->getMessage());
  65.     }
  66.     echo $lang->getConsoleLanguage('BOT_INCLUDE_DATABASE') . "\n";
  67. }
  68.  
  69. include 'inc/classes/cache.class.php';
  70. $cache = new CacheMenager();
  71. include 'inc/classes/filecache.class.php';
  72. $kernel->createProcess($botid);
  73. $processes = array();
  74. $pid = pcntl_fork();
  75.  
  76. if ($pid == 0) {
  77.     while (1) {
  78.         eval(base64_decode('JGtlcm5lbC0+dXBkYXRlVXB0aW1lKCk7'));
  79.         sleep(32);
  80.     }
  81. } else {
  82.     if ($pid) {
  83.         array_push($processes, $pid);
  84. ..................................................................
  85. ...............................
  86. ........
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