Advertisement
MrPaan

Speedtest.Net Spoofer

Apr 23rd, 2014
1,856
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.85 KB | None | 0 0
  1. <html>
  2. <title>SpeedTest.Net Spoofer</title>
  3. <link rel="icon" type="image/png" href="http://www.iconsdb.com/icons/preview/black/x-mark-4-xl.png" />
  4. <style>
  5.  
  6. /* Font 1 */
  7. @font-face {
  8.   font-family: 'The Girl Next Door';
  9.   font-style: normal;
  10.   font-weight: 400;
  11.   src: local('The Girl Next Door'), local('TheGirlNextDoor'), url(http://themes.googleusercontent.com/static/fonts/thegirlnextdoor/v5/cWRA4JVGeEcHGcPl5hmX7rOFxJ5Ig03puUh67ume3us.woff) format('woff');
  12. }
  13.  
  14. /* Font 2*/
  15. @font-face {
  16.   font-family: 'Chango';
  17.   font-style: normal;
  18.   font-weight: 400;
  19.   src: local('Chango Regular'), local('Chango-Regular'), url(http://themes.googleusercontent.com/static/fonts/chango/v3/nbaquFP0ZZ_smqykJINU8Q.woff) format('woff');
  20. }
  21. </style>
  22. <link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.4.2/pure-min.css">
  23. <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/3.1.1/css/font-awesome.css">
  24. <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/3.1.1/css/font-awesome-ie7.css">
  25. <center>
  26. <form class="pure-form pure-form-stacked">
  27. <legend><font face='The Girl Next Door' size=10>SpeedTest.Net Spoofer</font></legend>
  28. <br>
  29. <form class="pure-form">
  30. <fieldset class="pure-group">
  31. <input type="text" name="download" class="pure-input-1-2" placeholder="Download Speed">
  32. <input type="text" name="upload" class="pure-input-1-2" placeholder="Upload Speed">
  33. <input type="text" name="ping" class="pure-input-1-2" placeholder="Ping">
  34. <div class="pure-u-1 pure-u-med-1-3">
  35. <select name="gay" class="pure-input-1-2">
  36. <option value="473">Penang</option>
  37. <option value="1899">Kuala Lumpur</option>
  38. <option value="367">Singapore</option>
  39. <option value="1265">Seri Kembangan</option>
  40. <option value="1610">Cyberjaya</option>
  41. <option value="1618">Bandar Seri Begawan</option>
  42. <option value="880">Jakarta</option>
  43. </select>
  44. </div>
  45. <button type="submit" class="pure-button pure-input-1-2 pure-button-primary"><font face='Chango'>SPOOF</font></button>
  46. </form>
  47. </center>
  48. <br>
  49. <br>
  50. <br>
  51. <?php
  52.  
  53. /*
  54. Credits To : https://github.com/JOPHESTUS/SpeedtestSpoofer/blob/master/speedtest.php
  55. Special Credits To : /.Hexrut/.Acerap/.Manjor
  56. Facebook : http://fb.me/0b0xed
  57. */
  58.  
  59. $download = $_GET['download'];
  60. $upload = $_GET['upload'];
  61. $pingay = $_GET['ping'];
  62. $gay = $_GET['gay'];
  63.  
  64. if(!empty($_GET['download']) && ($_GET['upload']) && ($_GET['ping'])){
  65.  
  66. $down = "{$download}.999";
  67. $up = "{$upload}.999";
  68. $ping = $pingay;
  69. $server = $gay;
  70. $accuracy = 8;
  71. $hash = md5("$ping-$up-$down-297aae72");
  72. $headers = Array(
  73.         'POST /api/api.php HTTP/1.1',
  74.         'Host: www.speedtest.net',
  75.         'User-Agent: 0b0x3d',
  76.         'Content-Type: application/x-www-form-urlencoded',
  77.         'Origin: http://c.speedtest.net',
  78.         'Referer: http://c.speedtest.net/flash/speedtest.swf',
  79.         'Cookie: bisjut',
  80.         'Connection: Close'
  81.     );
  82.     $post = "startmode=recommendedselect&promo=&upload=$up&accuracy=$accuracy&recommendedserverid=$server&serverid=$server&ping=$ping&hash=$hash&download=$down";
  83.     //$post = urlencode($post);
  84.     $ch = curl_init();
  85.     curl_setopt($ch, CURLOPT_URL, 'http://www.speedtest.net/api/api.php');
  86.     curl_setopt($ch, CURLOPT_ENCODING, "" );
  87.     curl_setopt($ch, CURLOPT_POST, 1);
  88.     curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
  89.     curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  90.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  91.     curl_setopt($ch, CURLOPT_FRESH_CONNECT, 1);
  92.     $kudud = curl_exec($ch);
  93.     foreach (explode('&', $kudud) as $dud) {
  94.         $gay = explode("=", $dud);
  95.         if (urldecode($gay[0])== "resultid"){
  96.            echo '<font face="Chango">';
  97.            echo 'URL : http://www.speedtest.net/my-result/'.urldecode($gay[1]).' <br />';
  98.            echo 'Image : http://www.speedtest.net/result/'.urldecode($gay[1]).'.png';
  99.            echo '</font>';
  100.         }
  101.     }
  102. }
  103. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement