Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html><head><title>::.. Dc Free Dragons Auto 15 S..::</title>
- <script language="JavaScript">
- function auto_sub()
- {
- document.form.submit();
- }
- </script>
- <script type="text/javascript">
- var adfly_id = 7159338;
- var adfly_advert = 'int';
- var frequency_cap = 20;
- var frequency_delay = 20;
- var init_delay = 3;
- var popunder = true;
- </script>
- <script src="https://cdn.adf.ly/js/entry.js"></script>
- </head>
- <body onLoad="time()">
- <center>
- <title>Hack Drgon City</title>
- </head>
- </head>
- <body bgcolor="#DDDDDD" onload="time()">
- <div align="center"><table width="438" height="330" border="1">
- <tr>
- <td width="428">
- <h2 align="center"><font color="#FF0000">By Admin Hesham King<br/<font color="#00FF00"></font></h2><h3 align="center"><font color="#339900">By Admin Hesham King</font></h3><hr align="center" width="60%" size="5" color="#0066FF"> <div align=center><form name="form" method="post">
- <p>
- <label class=control-label for=input>ID Facobook</label>
- <div class=controls>
- <input id=input name=fbid class=input-xlarge type=text value="<?php echo $_POST['fbid'] ;?>"/>
- </div>
- <label class=control-label for=input>Session ID</label>
- <div class=controls>
- <input id=input name=ukey class=input-xlarge type=text value="<?php echo $_POST['ukey']; ?>"/>
- </div>
- <label class=control-label for=input>Password</label>
- <div class=controls>
- <select value="<?PHP echo $_POST['jumlah']; ?>" name="jumlah">
- <option value="0">Obsidian Dragon</option>
- <option VALUE="1">Ice&Fire Dragon</option>
- <option VALUE="2">Dolphin Dragon</option>
- <option VALUE="3">Hydra Dragon</option>
- <option VALUE="4">Diamond Dragon</option>
- <option VALUE="5">Treasure Dragon</option>
- <option VALUE="6">Fallen Angel Dragon</option>
- <option VALUE="7">Blue Dragon</option>
- <option VALUE="8">Basilisk Dragon</option>
- <option VALUE="9">Legendary Dragon</option></select>
- </div>
- <div class=form-actions>
- <div id="show"></div>
- <script language="javascript" type="text/javascript">
- var i=15;
- function time() {
- if(i >= 0) {
- document.getElementById("show").innerHTML="Auto Submit "+i+"s.";
- i--;
- setTimeout("time()",1000);
- }
- else {
- setTimeout("auto_sub()",0);
- }
- }
- </script>
- </div>
- </script>
- <br> Code by
- Mortal Anqel:<a href="http://www.facebook.com/charizmaticcezamert" target="_blank">Mortal Anqel</a>
- </a><form method="post">
- </form><br>
- <script id="_wauli6">var _wau = _wau || []; _wau.push(["classic", "8dk93vtyq4si", "li6"]);
- (function() {var s=document.createElement("script"); s.async=true;
- s.src="http://widgets.amung.us/classic.js";
- document.getElementsByTagName("head")[0].appendChild(s);
- })();</script><br>
- <?PHP
- if(isset($_POST['fbid'])){
- $playerinfo=ambilplayerinfo($_POST['fbid'],$_POST['ukey']);
- $data='------------Before----------<br/>';
- $data.=infodcfreegold($playerinfo);
- $data.='------------After----------<br/>';
- $data.=dcfreegold($_POST['fbid'],$_POST['ukey'],$_POST['jumlah'],$playerinfo);
- echo $data;
- }
- function ambilkodedc($kode,$playerinfo){
- foreach ($playerinfo['map']['items'] as $kode => $isi) {
- if ($isi[0]==81){
- return $kode;
- }
- }
- }
- function ambilplayerinfo($id,$ukey){
- $result=sendPost("http://dc-canvas.socialpointgames.com/dragoncity/web/srv/get_player_info.php?USERID=".$id."&user_key=".$ukey."&spdebug=1",null);
- $result = explode(";",$result);
- $result = json_decode($result[1],true);
- return $result;
- }
- function sendPost($url,$data=null){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $url);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_HTTPHEADER, array("REMOTE_ADDR: 127.0.0.1",
- "X-Client-IP: 127.0.0.1",
- "Client-IP: 127.0.0.1",
- "HTTP_X_FORWARDED_FOR: 127.0.0.1",
- "X-Forwarded-For: 127.0.0.1"));
- // curl_setopt($ch, CURLOPT_TIMEOUT_MS, 2000);
- // curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- // curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 0);
- // curl_setopt($ch, CURLOPT_PROXY, '23.23.166.15:9231');
- if($data!=null){
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS,http_build_query($data));
- }
- $result = curl_exec ($ch);
- curl_close ($ch);
- return $result;
- }
- function infodcfreegold($data){
- $return = 'ID : '.$data['playerInfo']['pid'].'<br/>';
- $return.= 'NAMA :'.$data['playerInfo']['name'].'<br/>';
- $return.= 'LEVEL :'.$data['playerInfo']['level'].'<br/>';
- $return.= 'GEMS :'.number_format($data['playerInfo']['cash'],0,',','.').'<br/>';
- $return.= 'GOLD :'.number_format($data['playerInfo']['gold'],0,',','.').'<br/>';
- $return.= 'FOOD :'.number_format($data['playerInfo']['food'],0,',','.').'<br/>';
- $return.= 'XP :'.number_format($data['playerInfo']['xp'],0,',','.').'<br/>';
- $return.= '<br/>';
- return $return;
- }
- function kirimperintah($id,$ukey,$cmd,$num){
- $cmd = json_encode(array('publishActions'=>0,'commands'=>$cmd,'flashVersion'=>'0.7.3','first_number'=>$num,'tries'=>1,'ts'=>time()));
- $hash = hash_hmac('sha256',$cmd,'RGhXbiy4xEeDnSNX1oBG');
- $cmd=array('data'=>$hash.';'.$cmd,'id'=>$id);
- $result=sendPost("http://dc-canvas.socialpointgames.com/dragoncity/web/srv/packet.php?USERID=".$id."&user_key=".$ukey."&spdebug=1",$cmd) ;
- $result = explode(";",$result);
- $result = json_decode($result[1],true);
- return $result;
- }
- function dcfreegold($id,$ukey,$jum,$playerinfo){
- $kodetavern=ambilkodedc(81,$playerinfo);
- $result=array();
- $cmd=array();
- $i=1;
- $num=1;
- $cmd[]=array('number'=>1,'time'=>time(),'args'=>array($kodetavern,$jum),'cmd'=>'finish_si');
- $result=kirimperintah($id,$ukey,$cmd,$i);
- $ret='';
- if($result['result']==true){
- $data=ambilplayerinfo($id,$ukey);
- $ret.=infodcfreegold($data);
- }else{
- $ret.='-------------GAGAL-------------<br/>';
- $ret.='ERROR : '.$result['error'].'<br/><br/>';
- }
- return $ret;
- }
- ?>
- </form>
- <br>
Add Comment
Please, Sign In to add comment