How to spoof your speedtest.net results

Fri, Apr 30, 2010

Linux, Misc, Windows

In this tutorial we will be showing you how to spoof your speedtest.net results. You will require a httpd server to do this, in this tutorial I used lighttpd running on debian.

To install lighttpd on debian just simply run

apt-get install lighttpd php5-cgi php5-ldap php5-mhash

and edit your php.ini to change cgi.force_redirect to 0

nano /etc/php5/cgi/php.ini

Come down and you'll find ;cgi.force_redirect = 1 and change it to cgi.force_redirect = 0
Now we need to edit lighttpd.conf

nano /etc/lighttpd/lighttpd.conf

Add the following lines

fastcgi.server = ( ".php" =>
                        (
                                (
                                        "bin-path" => "/usr/bin/php-cgi",
                                        "socket" => "/tmp/php.socket",
                                        "max-procs" => 20,
                                        "bin-environment" =>
                                        (
                                                "PHP_FCGI_CHILDREN" => "2",
                                                "PHP_FCGI_MAX_REQUESTS" => "10000"
                                        ),

                                )
                        ),
                    ".phps" =>
                        (
                                (
                                        "bin-path" => "/usr/bin/php-cgi --syntax-highlight",
                                        "socket" => "/tmp/phps.socket",
                                        "max-procs" => 1,
					"check-local"       => "disable"
                                )
                        )

                 )

and then under server.modules = ( add mod_fastcgi
and then finally restart your httpd

/etc/init.d/lighttpd restart

To spoof your speedtest.net result you'll need to grab speedtest.net mini you can download this from their website at http://speedtest.net/mini.php or you can just use wget to download it straight onto your server like I did in the tutorial

wget http://files.speedtest.ookla.com/releases/mini.zip

Extract mini.zip to your html dir, by default this is /var/www

mv mini.zip /var/www;cd /var/www; unzip mini.zip

Find out the IP address of the speedtest.net server to do this just simply run a speedtest and you will see it say something like Transferring data from host
for me the host was speedtest.airwire.ie and to get the IP address we just ping the host. After finding the IP address you need to add a virtual interface on your httpd server with this IP to do so run the following, where xxx.xxx.xxx.xxx is the IP of the speedtest.net server

ifconfig eth0:0 xxx.xxx.xxx.xxx netmask 255.255.255.0

Then lastly we need to add a secondary IP address on your windows workstation so it can access the httpd server to do so go into your network connections right click on your networking interface click on properties select internet protocol version 4 and press properties click advanced and under IP addresses click add. Add an IP address that is in the same range as the speedtest.net server.

You should now be able to go to speedtest.net select the server you spoofed and get high speeds.

, , , , , , , , , , , ,

This post was written by:

- who has written 47 posts on Tuts4Tech.

I am the owner of this website, please feel free to ask me any questions you have

Contact the author

33 Responses to “How to spoof your speedtest.net results”

  1. Gage Says:

    did this work with windows vista?

    Reply

  2. Duffy Says:

    There no reason why it shouldn't work on vista? Are you having a issue with it?

    Reply

  3. Gage Says:

    I having hard time to find which httpd server support Vista.... But your look exact vista but you running on debian (look as vista). Can you help me how to for Vista?

    Reply

  4. Duffy Says:

    Hi Gage, for doing this tutorial I was using Windows 7 as the workstation machine however the HTTPD server was hosted on a virtual machine running debian. the terminal window in the tutorial is a ssh window to the debian virtual machine.

    Reply

  5. Gage Says:

    Oh. Can you give me link for workstation machine and debian?

    Reply

  6. Gage Says:

    Thanks. Will make a spoof speedtest.net!

    Reply

  7. Gage Says:

    Umm.. This "/var/www;unzip mini.zip" didnt work. it said it cannot find.
    Can you help me?

    Reply

  8. Duffy Says:

    the command is mv mini.zip /var/www;cd /var/www; unzip mini.zip
    Please Re-Read the tutorial and follow it exactly.

    Reply

  9. Gage Says:

    Ok. I did re-read the tutorial but it still say error on mv mini.zip /var/www;unzip mini.zip. Please make the video for "How to."

    Reply

  10. Gage Says:

    I did get that file but where should I put?

    Reply

  11. Duffy Says:

    Put it onto the server.... by using the command wget it will download it onto the server for you

    Reply

  12. Gage Says:

    Ok. I putted it in server. and tried to mv mini.zip /var/www;unzip mini.zip but it still not find.... but I searched on var/www/ i found there still have mini.zip in it.

    Reply

  13. Gage Says:

    You might had wrong command...

    Reply

  14. Duffy Says:

    Its something your doing wrong.

    Reply

  15. Gage Says:

    Oh. Do you have MSN or YIM? You can help me on IM.

    Reply

  16. Duffy Says:

    Re-read it once more, if you still need help post another comment and I'll IM you

    Reply

  17. Gage Says:

    Will try Re-read very careful again.

    Reply

  18. Gage Says:

    Ok. I did Re-read this, but I still having problem. I really need for help.

    Reply

  19. Gage Says:

    Hey, thanks for help me to set some file on virtual machine. it worked and got 28/25. I'm currently run Debian on Storage USB to see if it can go faster. I tried other computer running debian on hard drive. This "edit lighttpd.conf" on above, where should I put? I just confused where that I can put this to following the line to lighttpd.conf.

    PS. Please put new video for "How to install lighttpd to spoof the speedtest.net"
    thanks

    Reply

  20. Joey Says:

    Hello. That idea was brilliant but actually it seems it is no longer working. As soon as I start the test, speedtest pops up "Latency test returned an error while trying to read the latency file"

    Any idea where this problem could be problem and how to fix it ?

    Thanks :)

    Reply

  21. Duffy Says:

    Hi Joey, Try using a different servers IP and make sure that PHP is working on your server. I've noticed it happens with certain server IPs that it will just auto fail

    Reply

  22. Joey Says:

    Thanks 4 ur reply.
    Well. Do you mean trying another speedtest server or something else ?

    How do I check if PHP is working on my debian server ?

    Also could this error come up it there is something wrong in lighttpd.conf ?

    Reply

  23. Duffy Says:

    Yeah I mean trying another servers IP

    To check if php is working just create a file in your httpd dir with < ?php phpinfo(); ?> then view that page and see if it displays info about php

    What error came up in lighttpd? if you want a copy of my config http://tuts4tech.net/httpd.conf

    Reply

  24. Joey Says:

    No error comes up. I am just saying if that latency error could be something wrong from the lighttpd.conf.
    I will try and inform you =)

    Reply

  25. Joey Says:

    I created a file called phpinfo.php in /etc/lighttpd/ dir.

    How do I browse it ?

    I type http://my_ip_address/etc/lighttpd/phpinfo.php

    and it gives me 404 not Found error

    Any hint ?

    Thanks

    Reply

  26. Joey Says:

    I made it work.. That php file was in the wrong directory

    aslo the line was

    it was just a matter of spaces.. No the PHP is working, I need to test other servers hoping it works..

    Thanks for your support :)

    Reply

  27. Joey Says:

    Sorry for posting again..

    Well I think there is a bigger problem, I see you are typing the speedtest server IP and you are browsing the index of speedtest folder.

    I did the same but on the debian.. Typing this on Windows doesn't get my anything. I think the problem is from the lighttpd. Windows can't access it so the trick is not working.

    Also about the latency error, just adding an IP in the range of the speedtest server IP bring the error even if the debian is not working.

    So where am I now ? :(

    Reply

  28. Blubber Says:

    Uhhh. I didnt understand anything you said but I would like to spoof my speedtest results. Where do I start again??

    Reply

  29. Duffy Says:

    Hi, If you didn't understand it thats your bad, nothing I can do. This tutorial is aimed at slighty more advanced computer users.

    If there is anything I can do to try assist you or clear up any points in the tutorial let me know.

    Reply

  30. MikeD Says:

    Is there a way to limit your speed test results? What i mean is to have the speed test show something like 50Mbps up and 30Mbps down?

    Reply

  31. Sami Says:

    Hello Duffy

    Thanks for this tutorial, everything is fine but I want to ask if there is a way to increase the ping a little. The ping is 1 ms which is very quick in response. Is there a way to increase the ping up to 20 ~ 50 ms. A way to to make the Hard disk response time slower, so higher ping for example ?

    Thanks :)

    Reply


Leave a Reply