Jump to content

script no longer working


JohnRedden

Recommended Posts

I had a working script that no longer works due to a change in the curl  hoping someone4 can help me was told this was a great place to go and that someone would help  thanks in advance i included the script and a working account was hoping to make it so all my accounts could be loaded in it  

 

account  http://play.degeneratesapp.com/?k=1396308992&v=6b66afb791a6139db8aa4c0bcacec66e27174fa1

 

 

 

<?php
 
$id="";
$auth="";
$deposit_heal_cash=TRUE; // Deposits all your cash into bank if needed to heal your account.
$target_id[]="1102992285"; // Make as many lines of IDs as you want.
 
 
 
//////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////
 
 
echo "\n RACiO - WWW.STFUALLDAY.COM\n Attacker Script v1.0\n\n";
sleep(3);
echo "\n         \\=============================\\";
echo "\n          ...STARTING ATTACKER SCRIPT...";
echo "\n         \\=============================\\\n\n\n";
 
$stats=file_get_contents($source_link."get_stats.php?target_id=".$id."&user_id=".$id."&auth_key=".$auth);
$name= split("<name>", $stats);
$name= split("<", $name[1]);
$level= split("<level>", $stats);
$level= split("<", $level[1]);
$cash= split("<cash>", $stats);
$cash= split("<", $cash[1]);
 
$decoded_name=urldecode($name[0]);
if ($name[0]==""){
echo "  Invalid Auth/User ID.";
sleep(18923);
}
$sat=-1;
for($l=0; $l<$sat || $sat == -1; $l++){
$stats=file_get_contents($source_link."get_stats.php?target_id=".$id."&user_id=".$id."&auth_key=".$auth);
$stamina= split("<stamina>", $stats);
$stamina= split("<", $stamina[1]);
$bank= split("<stamina>", $stats);
$bank= split("<", $bank[1]);
$health= split("<health>", $stats);
$health= split("<", $health[1]);
$max_health= split("<max_health>", $stats);
$max_health= split("<", $max_health[1]);
$percent_health = (100 * $health[0] / $max_health[0]);
 
if($percent_health < 67){
      $heal=file_get_contents($source_link."heal.php?user_id=".$id."&auth_key=".$auth);
      xml_parse_into_struct($iP=xml_parser_create(), $heal, $iS, $iX); xml_parser_free($iP);
      $msg="".strip_tags(str_replace("<br>","\n",$iS[$iX['MESSAGE'][0]]['value']))."";
 $message=urldecode($msg);
     if (stristr($message, "declined")&&$deposit_heal_cash==FALSE){
 echo "  [".$decoded_name."] ".date("H:i:s").": Not enough cash in bank to heal... Deposit more manually or turn 'deposit_heal_cash' to TRUE and restart the program.\n";
 sleep(1864);
 }
$heal_pts= split("You regained ", $message);
      $heal_pts= split(" health", $heal_pts[1]);
 echo "  [".$decoded_name."] ".date("H:i:s").": You regained ".$heal_pts[0]." health.\n";
 
if (stristr($message, "declined")&&$deposit_heal_cash==TRUE){
 $stats=file_get_contents($source_link."get_stats.php?target_id=".$id."&user_id=".$id."&auth_key=".$auth);
      $cash= split("<cash>", $stats);
      $cash= split("<", $cash[1]);
 if($cash < 2000){
 echo "  [".$decoded_name."] ".date("H:i:s").":Not enough cash to heal... Get more cash and restart the program.\n";
 sleep(1864);
 }
 $deposit=file_get_contents($source_link."deposit.php?amount=".$cash[0]."&user_id=".$id."&auth_key=".$auth);
      xml_parse_into_struct($iP=xml_parser_create(), $deposit, $iS, $iX); xml_parser_free($iP);
      $msg="".strip_tags(str_replace("<br>","\n",$iS[$iX['MESSAGE'][0]]['value']))."";
 $message=urldecode($msg);
 echo "  [".$decoded_name."] ".date("H:i:s").": ".$message."\n";
 }
 
 $stats=file_get_contents($source_link."get_stats.php?target_id=".$id."&user_id=".$id."&auth_key=".$auth);
      $health= split("<health>", $stats);
      $health= split("<", $health[1]);
      $max_health= split("<max_health>", $stats);
      $max_health= split("<", $max_health[1]);
      $percent_health = (100 * $health[0] / $max_health[0]);
       echo "  [".$decoded_name."] ".date("H:i:s").": Your account is ".$percent_health."% healed.\n";
  }
  
  
 foreach ($target_id as $v => $trolol){
 $attack=file_get_contents($source_link."attack.php?target_id=".$trolol."&user_id=".$id."&auth_key=".$auth);
      xml_parse_into_struct($iP=xml_parser_create(), $attack, $iS, $iX); xml_parser_free($iP);
      $msg="".strip_tags(str_replace("<br>","\n",$iS[$iX['MESSAGE'][0]]['value']))."";
 $message=urldecode($msg);
 echo "  [".$decoded_name."] ".date("H:i:s").": ".$message."\n";
}
 
  } 
 
 
 
?> }
 
  } 
 
 
 
?>
 
new curl  
 
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);    
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');    
curl_setopt($ch, CURLOPT_ENCODING, "UTF8");    
curl_setopt($ch, CURLOPT_HTTPHEADER, 
array(
'Accept:application/xml, text/xml, */*; q=0.01',
'Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3',
'Accept-Encoding:gzip,deflate,sdch',
'Accept-Language:en-US,en;q=0.8',
'Connection:keep-alive',
'Cookie:; ',
'Host:degeneratesapp.net',
'User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31',
'X-Requested-With:XMLHttpRequest',
)
);    
$data = curl_exec($ch);

 

Link to comment
https://forums.phpfreaks.com/topic/287980-script-no-longer-working/
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.