Backend Development

Fake your speedtest result!

Submitted by Ecstasy, , Thread ID: 11735

Thread Closed

RE: Fake your speedtest result!

#52
23-10-2015, 11:16 PM
Ecstasy Wrote:
Cool share, I will try this out.




Would you like to fake your speedtest result? :yus:
Then Donut look anymore!



PHP Code:
<?php
$down 
'999'.'925'// 999 = Mbps . 925 = dcimal
$up '999'.'794'// 999 = Mbps . 794 = dcimal
$ping 16;
$server '3729';
$accuracy 8;
$hash md5("$ping-$up-$down-297aae72");
$headers = Array(
   
'POST /api/api.php HTTP/1.1',
   
'Host: www.speedtest.net',
   
'User-Agent: DrWhat Speedtest',
   
'Content-Type: application/x-www-form-urlencoded',
   
'Origin: http://c.speedtest.net',
   
'Referer: http://c.speedtest.net/flash/speedtest.swf',
   
'Cookie: PLACE YOUR COOKIE HERE',
   
'Connection: Close'
  
);
  
$post "startmode=recommendedselect&promo=&upload=$up&accuracy=$accuracy&recommendedserverid=$server&serverid=$server&ping=$ping&hash=$hash&download=$down";
  
//$post = urlencode($post);
  
$ch curl_init();
  
curl_setopt($chCURLOPT_URL'http://www.speedtest.net/api/api.php');
  
curl_setopt($chCURLOPT_ENCODING"" );
  
curl_setopt($chCURLOPT_POST1);
  
curl_setopt($chCURLOPT_POSTFIELDS$post);
  
curl_setopt($chCURLOPT_HTTPHEADER$headers);
  
curl_setopt($chCURLOPT_RETURNTRANSFER1);
  
curl_setopt($chCURLOPT_FRESH_CONNECT1);
  
$data curl_exec($ch);
  foreach (
explode('&'$data) as $chunk) {
   
$param explode("="$chunk);
   if (
urldecode($param[0])== "resultid"){
   print 
'http://www.speedtest.net/my-result/'.urldecode($param[1]).' Speed test spoof.';
   }
  }
?>
It's Pretty easy to Edit your Up and Down,
Enjoy Smile

Users browsing this thread: 13 Guest(s)