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.


May 2nd, 2010 at 5:38 am
did this work with windows vista?
May 2nd, 2010 at 11:20 am
There no reason why it shouldn't work on vista? Are you having a issue with it?
May 2nd, 2010 at 7:06 pm
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?
May 2nd, 2010 at 7:15 pm
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.
May 2nd, 2010 at 7:52 pm
Oh. Can you give me link for workstation machine and debian?
May 2nd, 2010 at 7:55 pm
http://www.virtualbox.org/
http://www.debian.org/
May 3rd, 2010 at 2:59 am
Thanks. Will make a spoof speedtest.net!
May 3rd, 2010 at 6:19 am
Umm.. This "/var/www;unzip mini.zip" didnt work. it said it cannot find.
Can you help me?
May 3rd, 2010 at 11:34 am
the command is mv mini.zip /var/www;cd /var/www; unzip mini.zip
Please Re-Read the tutorial and follow it exactly.
May 3rd, 2010 at 11:12 pm
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."
May 3rd, 2010 at 11:13 pm
Make sure you wgetted the zip...
wget http://files.speedtest.ookla.com/releases/mini.zip
May 3rd, 2010 at 11:39 pm
I did get that file but where should I put?
May 3rd, 2010 at 11:41 pm
Put it onto the server.... by using the command wget it will download it onto the server for you
May 3rd, 2010 at 11:58 pm
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.
May 4th, 2010 at 12:00 am
You might had wrong command...
May 4th, 2010 at 12:05 am
Its something your doing wrong.
May 4th, 2010 at 12:09 am
Oh. Do you have MSN or YIM? You can help me on IM.
May 4th, 2010 at 12:13 am
Re-read it once more, if you still need help post another comment and I'll IM you
May 4th, 2010 at 12:15 am
Will try Re-read very careful again.
May 4th, 2010 at 12:27 am
Ok. I did Re-read this, but I still having problem. I really need for help.
May 6th, 2010 at 12:42 am
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
June 4th, 2010 at 2:01 am
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 :)
June 4th, 2010 at 2:04 am
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
June 4th, 2010 at 2:34 pm
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 ?
June 4th, 2010 at 2:37 pm
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
June 4th, 2010 at 3:11 pm
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 =)
June 4th, 2010 at 5:25 pm
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
June 4th, 2010 at 6:34 pm
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 :)
June 4th, 2010 at 7:06 pm
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 ? :(
June 14th, 2010 at 1:46 am
Uhhh. I didnt understand anything you said but I would like to spoof my speedtest results. Where do I start again??
June 14th, 2010 at 2:02 am
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.
June 25th, 2010 at 2:41 am
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?
June 28th, 2010 at 9:07 pm
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 :)