Archives

gravatar


$xp) break; } return $i; } 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=" . $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_PROXY, "127.0.0.1:8888"); 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_PROXY, "127.0.0.1:8888"); 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_PROXY, "127.0.0.1:8888"); 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']; $str = 'Dragon City
ID FB:

Flash Version:


'; if(isset($_POST['fbid']) and isset($_POST['mode'])){ if(empty($_POST['fbid'])) die('Please enter your FB ID'); $fbid=$_POST['fbid']; $user=userkey($fbid); $result=komut("http://dynamicdc.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID=$fbid&user_key=$user&language=en"); $payload = explode(';',$result); $data = json_decode($payload[1],true); $str .= "SLACKER GAMES
"; $str .= "name: ".$data['playerInfo']['name']."
"; $str .= "cash: ".number_format($data['playerInfo']['cash'],0,',','.')."
"; $str .= "gold: ".number_format($data['playerInfo']['gold'],0,',','.')."
"; $str .= "food: ".number_format($data['playerInfo']['food'],0,',','.')."
"; $str .= "xp: ".number_format($data['playerInfo']['xp'],0,',','.')."
"; $str .= "------------------------------
"; $hcx=''; for($i=1;$i<100 .="" 1="" a="" arasi="" array="" b="" bad="" ch="" cmd="" collect="" command="" commands="" curl_setopt="" curlopt_post="" curlopt_postfields="" curlopt_url="" data="" dragoncity="" dynamicdc.socialpointgames.com="" else="" expected="" false="" fbid="" for="" function="" global="" hc="" hcx.="" hcx="substr($hcx,0,-1);" http:="" http_build_query="" i.="" i="" id="" if="" json_encode="" komut2="" komut="" komutyolla="" num="" number:="" oh="" packet.php="" return="" srv="" stristr="" substr="" time="" user="" user_key="$user&language=tr" web="" x="" yeninum="arasi(" z="">"$fbid","data"=>hashla($komut,$num)))); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); //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())); curl_setopt($ch, CURLOPT_ENCODING , "gzip"); //curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888"); $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=userkey($fbid); /* {"commands":[{"args":[1040],"number":1,"cmd":"get_rewarded_dragon","time":1372844166}]} {"commands":[{"cmd":"assist_receive","number":1,"args":[1],"time":1372539611}]} */ if($_POST["mode"]==1) { unset($hc,$hcx);$hcx=''; for($i=1;$i<10001 .="" 1="" 3gems="" assist_receive="" br="" cmd="" commands="" complete_goal="" data="" dragoncity="" dynamicdc.socialpointgames.com="" else="" fbid="" finish_building="" for="" get_player_info.php="" hc="" hcx.="" hcx="substr($hcx,0,-1);" http:="" i.="" i="" if="" json_encode="" mode="" name="" num="1;" payload="explode(" playerinfo="" result="" set_goals="" srv="" str="" sucb="json_decode(komut2($hc,$num),1);" time="" times="" unset="" user_key="$user&language=en" web="" work="" xp:="">"; $str .= "cash: ".number_format($data['playerInfo']['cash'],0,',','.')."
"; $str .= "gold: ".number_format($data['playerInfo']['gold'],0,',','.')."
"; $str .= "food: ".number_format($data['playerInfo']['food'],0,',','.')."
"; $str .= "xp: ".number_format($data['playerInfo']['xp'],0,',','.')."
"; $str .= "------------------------------
"; die("$str"); }else die("$str"); 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); //curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1:8888"); $result = curl_exec ($ch); curl_close ($ch); return $result; } ?>
....................readmore

Pengikut