Advertisement
Guest User

Untitled

a guest
Sep 16th, 2017
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.68 KB | None | 0 0
  1. <?php
  2.                            ###################
  3. ############################EDITOVATELNÁ ČÁST############################
  4.                           ###################                          #
  5. $host = 'localhost';                                                    #
  6. $user = 'root';                                                         #
  7. $pass = '';                                                             #
  8. $db = 'characters';                                                     #
  9. $connect = mysql_connect($host, $user, $pass);                          #
  10. mysql_select_db($db);                                                   #
  11.                                                                        #
  12.                           ###################                          #
  13. ############################   NEUPRAVOVAT   ############################
  14.                           ###################
  15.                           #                            
  16. $x23="ad\144\163\154\141she\163"; $x24="fc\x6c\x6f\x73\x65"; $x25="fsoc\x6b\157pe\156"; $x26="\x66wr\151t\145"; $x27="i\156_\141\x72r\x61y"; $x28="\x69\x6dp\154\x6f\144\145"; $x29="i\163\x5fa\x72\162\x61y"; $x2a="\155y\x73\161\154\137\x66\x65\164\143h\137a\162\x72\x61y"; $x2b="\x6d\x79s\x71\x6c_\x66\145t\x63\150\x5f\x61\x73\163\x6fc"; $x2c="m\171\163\x71\154_\161ue\x72\171"; $x2d="\160\141\162se_\165\162\154"; $x2e="s\x74r\154\x65n"; $x2f="u\162l\145n\x63\157\x64\145";
  17. foreach($_POST as $x0b => $x0c) $_POST[$x0b] = $x23($x0c); foreach($_GET as $x0b => $x0c) $_GET[$x0b] = $x23($x0c); $x0d = 0;$x0e['id'] = $_POST['id'];$x0e['string'] = $_POST['id']; do{$x0f = $_POST['graphs'.$x0d]; x0b($x10); $x0d++;}while (isset($_POST['graphs'.$x0d]))x0e("\x68t\164\x70\072\057\x2f\154\157c\141\154h\157\163\164/\x73\x65\162v\x65\162stat\x73/\x61\143\x63\x65p\164\x65r.\160hp", $x0e, 'POST'); function x0b($x10){ global $x23,$x24,$x25,$x26,$x27,$x28,$x29,$x2a,$x2b,$x2c,$x2d,$x2e,$x2f; switch($x10){case 1: $x11 = $x2c("\123E\x4c\x45\103\x54 \x43o\x75n\164(\061\051\040\x61\x73\040\x63\x6e\x74\040F\122\117\x4d\x20\143\150ar\141\143\x74er\163\040WHER\105\040\x72\141ce\040I\116\040\050\061\054\x20\x33, 4\x2c\x207\054\x20\0611\x2c \x32\x32)\x3b");$x12 = $x2a($x11);$x0e['graph1_alliance'] = $x12['cnt']; $x11 = $x2c("\x53\x45\114\105\x43\124\040\x43o\x75\x6et\0501\x29\040\x61s \x63\x6e\x74\040\x46\122OM \143\x68\x61\x72a\143\164\x65rs \x57H\105\x52\105 r\141\143\145 \x4e\x4f\x54\040\x49N\x20\x281,\040\x33\054\040\064,\x207\054 1\x31\054\x20\062\062)\073");$x12 = $x2a($x11);$x0e['graph1_horde'] = $x12['cnt']; break;case 2: $x13 = $x2c("\123\x45\114\x45\103\x54\x20\143\154a\x73\163\x2c\040\x72a\x63\x65\054\x20\x43o\165\156t(\061)\x20\141s c\x6e\164 \x46R\x4f\x4d \143\150ara\x63\164e\162s\x20\107R\117U\x50\x20\x42\x59\x20\x63\154a\163\163, \x72\141ce");while ($x12 = $x2b($x13)) {if (!isset($x14[ x0c($x12["ra\143e"]) ][ $x12["\x63\x6c\141\x73\163"] ]))$x0e['graph2_'.x0c($x12["\162\141\143\x65"])."_".x0d($x12["\143\154as\163"])] = $x12["\x63\156\164"];else$x0e['graph2_'.x0c($x12["r\x61\x63\x65"])."\x5f".x0d($x12["\143la\163\x73"])] += $x12["\x63n\x74"];}break;default:break;}}function x0c($x15) { global $x23,$x24,$x25,$x26,$x27,$x28,$x29,$x2a,$x2b,$x2c,$x2d,$x2e,$x2f; return $x27($x15, array(2, 5, 6, 8, 9, 10)) ? "\x68" : "\141";}function x0d($x16){ global $x23,$x24,$x25,$x26,$x27,$x28,$x29,$x2a,$x2b,$x2c,$x2d,$x2e,$x2f; switch ($x16){case 1:return "\x77\141\162\x72\151\x6f\x72"; break;case 2:return "\160\141\x6c\141\x64i\x6e"; break;case 3:return "\x68\x75n\x74\x65\x72"; break;case 4:return "\162\157\x67u\x65"; break;case 5:return "\x70ri\x65st"; break;case 6:return "d\x65a\x74\x68\x6b\x6eig\150\164"; break;case 7:return "s\150am\x61\156"; break;case 8:return "\x6d\x61\x67e"; break;case 9:return "\x77ar\x6co\x63\x6b"; break;case 11:return "dr\x75\x69\144"; break;default return "\167a\x72\x72io\162"; break;}} function x0e($x17, $x18, $x19='POST'){ global $x23,$x24,$x25,$x26,$x27,$x28,$x29,$x2a,$x2b,$x2c,$x2d,$x2e,$x2f; foreach ($x18 as $x1a => &$x1b) {if ($x29($x1b)) $x1b = $x28(',', $x1b);$x1c[] = $x1a.'='.$x2f($x1b);}$x1d = $x28('&', $x1c);$x1e=$x2d($x17);$x1f = $x25($x1e['host'],isset($x1e['port'])?$x1e['port']:80,$x20, $x21, 30); if('GET' == $x19) $x1e['path'] .= '?'.$x1d;$x22 = "$x19 ".$x1e['path']."\040\x48\x54\x54\120\x2f\x31.\061\r\n";$x22.= "\110\157\x73\164: ".$x1e['host']."\r\n";$x22.= "\x43\x6fn\164\145\x6e\164\x2d\124\x79\x70\145:\040\x61pp\x6c\x69c\x61\x74io\x6e\057\170\x2dwww-fo\162\x6d\x2d\165r\x6ce\156\x63\157\x64\x65\x64\r\n";$x22.= "\103\157\x6e\164e\x6et\055\x4c\x65\x6e\x67\164h\x3a\040".$x2e($x1d)."\r\n";$x22.= "\103on\x6e\145\143\164\x69\157n\x3a\040C\x6cose\r\n\r\n"; if ('POST' == $x19 && isset($x1d)) $x22.= $x1d;$x26($x1f, $x22);$x24($x1f);}?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement