Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.65 KB | None | 0 0
  1. <?php
  2. $myip = "hebbex.com";
  3.  
  4. function SacarIP22() {
  5. if($_SERVER) {
  6. } elseif ($_SERVER["HTTP_CLIENT_IP"]) {
  7. } else {
  8. $realip2 = $_SERVER["REMOTE_ADDR"];
  9. }
  10. if(getenv("HTTP_X_FORWARDED_FOR")) {
  11. $realip2 = getenv("HTTP_X_FORWARDED_FOR");
  12. } elseif(getenv("HTTP_CLIENT_IP")) {
  13. $realip2 = getenv("HTTP_CLIENT_IP");
  14. } else {
  15. $realip2 = getenv("REMOTE_ADDR");
  16. }
  17. }
  18.  
  19. $myrealip = SacarIP22();
  20.  
  21. require_once('./data_classes/server-data.php_data_classes-core.php.php');
  22. require_once('./data_classes/server-data.php_data_classes-session.php.php');
  23.  
  24.  
  25. mysql_query("UPDATE users SET auth_ticket = '', auth_ticket = '".GenerateTicket()."', ip_last = '', ip_last = '".$remote_ip."' WHERE id = '".$my_id."'") or die(mysql_error());
  26.  
  27. $ticketsql = mysql_query("SELECT * FROM users WHERE id = '".$my_id."'") or die(mysql_error());
  28. $ticketrow = mysql_fetch_assoc($ticketsql);
  29.  
  30.  
  31. $client_port = mysql_fetch_assoc($client_port = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_port'"));
  32. $client_mus = mysql_fetch_assoc($client_mus = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_mus'"));
  33. $client_ip = mysql_fetch_assoc($client_ip = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_ip'"));
  34. $client_variables = mysql_fetch_assoc($client_variables = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables'"));
  35. $client_variables_night = mysql_fetch_assoc($client_variables_night = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables_night'"));
  36. $client_texts = mysql_fetch_assoc($client_texts = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_texts'"));
  37. $client_swf_path = mysql_fetch_assoc($client_swf_path = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_swf_path'"));
  38. $client_habbo_swf = mysql_fetch_assoc($client_habbo_swf = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_habbo_swf'"));
  39. $client_limit = mysql_fetch_assoc($client_limit = mysql_query("SELECT * FROM cms_settings WHERE variable = 'cms_clientlimit'"));
  40. if($user_rank < 1 && $online_count >= $client_limit['value']){
  41.  
  42. require_once('./templates/login_subheader.php');
  43. require_once('./templates/login_header.php');
  44.  
  45. ?>
  46. <?php require_once('./templates/login_footer.php'); }else{ require_once('./templates/client_subheader.php'); ?>
  47. <script type="text/javascript">
  48. FlashExternalInterface.loginLogEnabled = true;
  49.  
  50. FlashExternalInterface.logLoginStep("web.view.start");
  51.  
  52. if (top == self) {
  53. FlashHabboClient.cacheCheck();
  54. }
  55.  
  56. <?php
  57. $pathd="http://hebbex.com";
  58. ?>
  59. var flashvars = {
  60. "client.allow.cross.domain" : "1", <?php #Proteção by Victor 47990d8df078bb8b7e562b154fdc2371?>
  61. "client.notify.cross.domain" : "0",
  62. "connection.info.host" : "",
  63. "connection.info.porta" : "5187871561714571171", <?php #O original encontra-se na linha 76. Esse é apenas para deixar um Hacker confuso. ?>
  64. "site.url" : "<?php echo $path; ?>",
  65. "url.prefix" : "<?php echo $path; ?>",
  66. "client.reload.url" : "<?php echo $path; ?>",
  67. "client.fatal.error.url" : "<?php echo $path; ?>/flash_client_error",
  68. "client.connection.failed.url" : "<?php echo $path; ?>/client_connection_failed",
  69. "external.variables.txt" : "http://hebbex.com/swf/gamedata/external_variables.txt?76584231<?php echo time(); ?>",
  70. "external.texts.txt" : "http://hebbex.com/swf/gamedata/external_flash_texts.txt?v=?2313<?php echo time(); ?>",
  71. "external.figurepartlist.txt" : "http://hebbex.com/swf/gamedata/figuredata.xml?234<?php echo time(); ?>",
  72. "external.override.texts.txt" : "http://hebbex.com/swf/gamedata/override/external_flash_override_texts.txt?231<?php echo time(); ?>",
  73. "external.override.variables.txt" : "http://hebbex.com/swf/gamedata/override/external_override_variables.txt?235851<?php echo time(); ?>",
  74. "productdata.load.url" : "http://hebbex.com/swf/gamedata/productdata.txt",
  75. "connection.info.port" : "30000",
  76. "furnidata.load.url" : "http://hebbex.com/swf/gamedata/furnidata.xml",
  77. "use.sso.ticket" : "1",
  78. "sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>",
  79. "processlog.enabled" : "1",
  80. "account_id" : "1",
  81. "client.starting" : "Boom está carregando...",
  82. "flash.client.url" : "http://hebbex.com/swf/gordon/PRODUCTION-201607262204-86871104/",
  83. "nux.lobbies.enabled" : "false",
  84. "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
  85. "has.identity" : "1",
  86. "flash.client.origin" : "popup"
  87.  
  88.  
  89. };
  90. var params = {
  91. "base" : "http://hebbex.com/swf/gordon/PRODUCTION-201607262204-86871104/",
  92. "allowScriptAccess" : "always",
  93. "menu" : "false"
  94. };
  95.  
  96. if (!(HabbletLoader.needsFlashKbWorkaround())) {
  97. params["wmode"] = "opaque";
  98. }
  99.  
  100. FlashExternalInterface.signoutUrl = "http://hebbex.com/account/logout?token=<?php echo sha1($myrow['password']); ?>";
  101.  
  102. var clientUrl = "http://hebbex.com/swf/gordon/PRODUCTION-201607262204-86871104/Boom.swf";
  103.  
  104. swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "<?php echo $path; ?>/web-gallery/flash/expressInstall.swf", flashvars, params);
  105.  
  106. window.onbeforeunload = unloading;
  107. function unloading() {
  108. var clientObject;
  109. if (navigator.appName.indexOf("Microsoft") != -1) {
  110. clientObject = window["flash-container"];
  111. } else {
  112. clientObject = document["flash-container"];
  113. }
  114. try {
  115. clientObject.unloading();
  116. } catch (e) {}
  117. }
  118. </script>
  119.  
  120. <!--[if IE 8]>
  121. <link rel="stylesheet" href="http://hebbex.com/web-gallery/static/styles/ie8.css" type="text/css" />
  122. <![endif]-->
  123. <!--[if lt IE 8]>
  124. <link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie.css" type="text/css" />
  125. <![endif]-->
  126. <!--[if lt IE 7]>
  127. <link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie6.css" type="text/css" />
  128. <script src="<?php echo $path; ?>/web-gallery/static/js/pngfix.js" type="text/javascript"></script>
  129. <script type="text/javascript">
  130. try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
  131. </script>
  132.  
  133. <sttyle type="text/css">
  134. body { behavior: url(/js/csshover.htc); }
  135. </sttyle>
  136. <![endif]-->
  137.  
  138. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
  139. <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>
  140. <script src="./main.js" type="text/javascript"></script>
  141. <script type="text/javascript">
  142. var urlofswf = "http://hebbex.com/";
  143. </script>
  144. <link rel="stylesheet" href="http://hebbex.com/illuminaswf/landing.css" type="text/css" />
  145. <div id="illuminahead"></div>
  146. <div id="illuminabar"></div>
  147. <div id="illuminaboxes"></div>
  148. </head>
  149.  
  150. <body id="client" class="flashclient">
  151. <div id="overlay"></div>
  152. <div id="overlay"></div>
  153. <div id="client-ui" >
  154. <div id="flash-wrapper">
  155. <div id="flash-container">
  156. <div id="content" sttyle="width: 400px; margin: 20px auto 0 auto; display: none">
  157. <div class="cbb clearfix">
  158. <h2 class="title">Ocorreu um erro.</h2>
  159.  
  160. <div class="box-content">
  161. <p>Oops! <a href="http://get.adobe.com/flashplayer/">Instale o Flash Player.</a> É necessário Flash Player para jogar o Hotel. Mais instruções: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Clique aqui</a>.</p>
  162. <p><a href="http://www.adobe.com/go/getflashplayer"><img src="<?php echo $path; ?>/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
  163. </div>
  164. </div>
  165.  
  166. </div>
  167. <script type="text/javascript">
  168. $('content').show();
  169. </script>
  170.  
  171. </div>
  172. </div>
  173. </body>
  174. </html>
  175. <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement