elite*gold: 0
Join Date: Jul 2013
Posts: 19
Received Thanks: 2
|
<?php if (session_id() == "") session_start(); function userkey($fbid) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_user_session.php?secret=zoltan3287&id=13859286 95" . $fbid); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_NOBODY, false); curl_setopt($ch, CURLOPT_ENCODING, "gzip"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); curl_setopt($ch, CURLOPT_TIMEOUT, 10); $userkey = curl_exec($ch); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_game_config.php?USERID=' . $fbid . '&user_key=' . $userkey . "&language=tr"); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_ENCODING, "gzip"); curl_setopt($ch, CURLOPT_NOBODY, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); curl_setopt($ch, CURLOPT_TIMEOUT, 10); $result = curl_exec($ch); curl_setopt($ch, CURLOPT_URL, 'http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID=' . $fbid . '&user_key=' . $userkey . "&language=tr"); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36"); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_NOBODY, false); curl_setopt($ch, CURLOPT_ENCODING, "gzip"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); curl_setopt($ch, CURLOPT_TIMEOUT, 10); $result = curl_exec($ch); return $userkey; } if (isset($_POST['flashVersion']) and !empty($_POST['flashVersion'])) $_SESSION['swversi'] = $_POST['flashVersion']; $versi = "0.5.23a"; if (isset($_SESSION['swversi'])) $versi = $_SESSION['swversi']; if (isset($_POST['page1'])) { $page1 = 'checked'; } if (isset($_POST['page2'])) { $page2 = 'checked'; } if (isset($_POST['page3'])) { $page3 = 'checked'; } if (isset($_POST['page4'])) { $page4 = 'checked'; } if (isset($_POST['page5'])) { $page5 = 'checked'; } if (isset($_POST['page6'])) { $page6 = 'checked'; } if (isset($_POST['page7'])) { $page7 = 'checked'; } if (isset($_POST['page8'])) { $page8 = 'checked'; } if (isset($_POST['page9'])) { $page9 = 'checked'; } if (isset($_POST['page10'])) { $page10 = 'checked'; } if (isset($_POST['page11'])) { $page11 = 'checked'; } if (isset($_POST['page12'])) { $page12 = 'checked'; } if (isset($_POST['page13'])) { $page13 = 'checked'; } if (isset($_POST['page14'])) { $page14 = 'checked'; } $str = '<html><META http-equiv=Content-Type content="text/html; charset=utf-8"><body> Version: 13.07.29 <center> <form name="form1" method="post"> FACEBOOK_ID</br> <input name="fbid" value="' . $_POST['fbid'] . '" /></br> USER_KEY</br> <input name="user" value="' . $_POST['user'] . '" /></br> <select name="mode"> <option value="1">Gem</option> </select></br> <input type="checkbox" name="page1" value="1" ' . $page1 . ' >PAGE 1(2 gem) <input type="checkbox" name="page2" value="2" ' . $page2 . ' >PAGE 2(3 gem)</br> <input type="checkbox" name="page3" value="3" ' . $page3 . ' >PAGE 3(2 gem) <input type="checkbox" name="page4" value="4" ' . $page4 . ' >PAGE 4(3 gem)</br> <input type="checkbox" name="page5" value="5" ' . $page5 . ' >PAGE 5(2 gem) <input type="checkbox" name="page6" value="6" ' . $page6 . ' >PAGE 6(4 gem)</br> <input type="checkbox" name="page7" value="7" ' . $page7 . ' >PAGE 7(2 gem) <input type="checkbox" name="page8" value="8" ' . $page8 . ' >PAGE 8(5 gem)</br> <input type="checkbox" name="page9" value="9" ' . $page9 . ' >PAGE 9(3 gem) <input type="checkbox" name="page10" value="10" ' . $page10 . ' >PAGE 10(2 gem)</br> <input type="checkbox" name="page11" value="11" ' . $page11 . ' >PAGE 11(4 gem) <input type="checkbox" name="page12" value="12" ' . $page12 . ' >PAGE 12(3 gem)</br> <input type="checkbox" name="page13" value="13" ' . $page13 . ' >PAGE 13(5 gem) <input type="checkbox" name="page14" value="14" ' . $page14 . ' >PAGE 14(4 gem) </br></br> <body onload="time()"> <div id="show"></div> <script language="javascript" type="text/javascript"> var i=10; function time() { if(i >= 0) { document.getElementById("show").innerHTML="Encode Tu?n LA Auto Submit in "+i+"s."; i--; setTimeout("time()",1000); } else { // } } </script> </br><a href="freeshopping.php">Free shopping</a></br><a href="gold.php">Free gold</a> </br><a href="http://lasv.uni.me">Download Code</a></br> </br><a href="http://api.hostinger.vn/redir/1595065">?ng h? m?nh b?ng c?ch ??ng k? free hosting ?? t?o trang hack cho riêng b?n</a></br> </br><a href="http://api.hostinger.vn/redir/1595065">Support me creat a free hosting thank you!</a></br> <div id="cboxdiv" style="text-align: center; line-height: 0"> <div><iframe frameborder="0" width="200" height="50" src="http://www4.cbox.ws/box/?boxid=4197403&boxtag=w87qea&sec=main" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxmain4-4197403" style="border:#ababab 1px solid;" id="cboxmain4-4197403"></iframe></div> </br><script id="_wau9z3">var _wau = _wau || []; _wau.push(["classic", "nji8sfc4bgjc", "9z3"]); (function() {var s=document.createElement("script"); s.async=true; s.src="http://widgets.amung.us/classic.js"; document.getElementsByTagName("head")[0].appendChild(s); })();</script> </form> <script language = "JavaScript"> var count = 50; /* function countDown () { document.forms ["form1"].time.value = count; if (count == 0) autoSubmit (); else setTimeout (countDown, 1000); count--; } */ function autoSubmit () { //alert ("Time Out!"); document.forms ["form1"].submit (); } setTimeout (autoSubmit, 10000); //countDown (); </script> </center>'; if (isset($_POST['fbid']) and isset($_POST['mode'])) { $fbid = $_POST['fbid']; $user = $_POST['user']; $result = komut("http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID=$fbid&user_key=$user&la nguage=en"); $payload = explode(';', $result); $data = json_decode($payload[1], true); $str .= "<center>-----Result-----<br/>"; $hcx = ''; for ($i = 1; $i < 100; $i++) { $hcx .= '{"args":[18],"number":' . $i . ',"cmd":"collect","time":1372771201},'; } $hcx = substr($hcx, 0, -1); $hc = '{"commands":[' . $hcx . ']}'; $hc = json_decode($hc, 1); $num = 1; for ($i = 0; $i < count($hc['commands']); $i++) { $hc['commands'][$i]['time'] = time(); } $hc = substr(substr(str_replace(" ", "", json_encode($hc)), 0, -1), 1); function arasi($a, $b, $data) { $x = explode($a, $data); $z = explode($b, $x[1]); $oh = $z[0]; if ($x && $z) { return $oh; } else { return false; } } function komut2($komut, $num) { $data = komutyolla($komut, $num); if (stristr($data, 'bad command number: expected')) { $yeninum = arasi('bad command number: expected ', ',', $data); $data = komutyolla($komut, $yeninum); return substr($data, 65); } else { return substr($data, 65); } } function komutyolla($komut, $num) { global $fbid, $user; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://dynamicdc.socialpointgames.com/dragoncity/web/srv/packet.php?USERID=$fbid&user_key=$user&language=tr "); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(array( "id" => "$fbid", "data" => hashla($komut, $num) ))); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_ENCODING, "gzip"); $data = curl_exec($ch); curl_close($ch); return $data; } function hashla($komut, $n) { $ar = array( "first_number" => $n, "publishActions" => 0, "tries" => 1, "flashVersion" => "0.5.19", "ts" => time() ); $x = 'RGhXbiy4xEeDnSNX1oBG'; $sonkod = str_replace(" ", "", str_replace('}', ',' . $komut . '}', json_encode($ar))); return hash_hmac('sha256', $sonkod, $x) . ';' . $sonkod; } if (isset($_POST["fbid"])) { $fbid = $_POST['fbid']; $user = $_POST['user']; if ($_POST["mode"] == 0) { unset($hc, $hcx); $hcx = ''; { $hcx .= '{"args":[1101],"number":' . $i . ',"cmd":"Store_Dragon","time":1372771201},'; } $hcx = substr($hcx, 0, -1); $hc = '{"commands":[' . $hcx . ']}'; $hc = json_decode($hc, 1); $num = 1; for ($i = 0; $i < count($hc['commands']); $i++) { $hc['commands'][$i]['time'] = time(); } } else if ($_POST["mode"] == 1) { unset($hc, $hcx); $hcx = ''; for ($h = 1; $h < 15; $h++) { if ($_POST["page1"] == true) { $hcx .= '{"args":[1],"number":' . $i . ',"cmd":"complete_collection","time":1372771201},' ; } if ($_POST["page2"] == true) { $hcx .= '{"args":[2],"number":' . $i . ',"cmd":"complete_collection","time":1372771201},' ; } if ($_POST["page3"] == true) { $hcx .= '{"args":[3],"number":' . $i . ',"cmd":"complete_collection","time":1372771201},' ; } if ($_POST["page4"] == true) { $hcx .= '{"args":[4],"number":' . $i . ',"cmd":"complete_collection","time":1372771201},' ; } if ($_POST["page5"] == true) { $hcx .= '{"args":[5],"number":' . $i . ',"cmd":"complete_collection","time":1372771201},' ; } if ($_POST["page6"] == true) { $hcx .= '{"args":[6],"number":' . $i . ',"cmd":"complete_collection","time":1372771201},' ; } if ($_POST["page7"] == true) { $hcx .= '{"args":[7],"number":' . $i . ',"cmd":"complete_collection","time":1372771201},' ; } if ($_POST["page8"] == true) { $hcx .= '{"args":[8],"number":' . $i . ',"cmd":"complete_collection","time":1372771201},' ; } if ($_POST["page9"] == true) { $hcx .= '{"args":[9],"number":' . $i . ',"cmd":"complete_collection","time":1372771201},' ; } if ($_POST["page10"] == true) { $hcx .= '{"args":[10],"number":' . $i . ',"cmd":"complete_collection","time":1372771201},' ; } if ($_POST["page11"] == true) { $hcx .= '{"args":[11],"number":' . $i . ',"cmd":"complete_collection","time":1372771201},' ; } if ($_POST["page12"] == true) { $hcx .= '{"args":[12],"number":' . $i . ',"cmd":"complete_collection","time":1372771201},' ; } if ($_POST["page13"] == true) { $hcx .= '{"args":[13],"number":' . $i . ',"cmd":"complete_collection","time":1372771201},' ; } if ($_POST["page14"] == true) { $hcx .= '{"args":[14],"number":' . $i . ',"cmd":"complete_collection","time":1372771201},' ; } } $hcx .= '{"args":[],"number":' . $i . ',"cmd":"reset_complete_collection","time":1372771 201},'; $hcx = substr($hcx, 0, -1); $hc = '{"commands":[' . $hcx . ']}'; $hc = json_decode($hc, 1); $num = 1; for ($i = 0; $i < count($hc['commands']); $i++) { $hc['commands'][$i]['time'] = time(); } } $hc = substr(substr(str_replace(" ", "", json_encode($hc)), 0, -1), 1); $sucb = json_decode(komut2($hc, $num), 1); } else { } $result = komut("http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID=$fbid&user_key=$user&la nguage=en"); $payload = explode(';', $result); $data = json_decode($payload[1], true); $str .= " " . $data['playerInfo']['name'] . "<br/>"; if (empty($data['playerInfo']['name'])) die("$str FBID EMPTY OR BAD USER_KEY"); $str .= "Gems: " . number_format($data['playerInfo']['cash'], 0, ',', '.') . "<br/>"; $str .= "Gold: " . number_format($data['playerInfo']['gold'], 0, ',', '.') . "<br/>"; $str .= "Food: " . number_format($data['playerInfo']['food'], 0, ',', '.') . "<br/>"; $str .= "Exp: " . number_format($data['playerInfo']['xp'], 0, ',', '.') . "<br/>"; $str .= "------------------------------<br/>"; die("$str</body></html>"); } else die("$str</body></center></html>"); function fakeip() { return long2ip(mt_rand(0, 65537) * mt_rand(0, 65535)); } function komut($url, $args = false) { global $fbid, $user; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HTTPHEADER, array( "REMOTE_ADDR: " . fakeip(), "X-Client-IP: " . fakeip(), "Client-IP: " . fakeip(), "HTTP_X_FORWARDED_FOR: " . fakeip(), "X-Forwarded-For: " . fakeip() )); if ($args) { curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $args); } curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); curl_close($ch); return $result; } ?>
|