How would I repeat a GET request forever from a home PC?
I don’t care how I have to do it… I want to prove to my friend, who has this voting thing on his forum, that you can script something like this.
And there is no limit to how many votes a person can do, no registration, no IP logging, no randomly generated track thingy, etc etc. Crap security.
How would I like use something like PHP or maybe even JavaScript to do this? I’m running BackTrack 3 (lol plz dont think im a skiddie…) from a USB. In my friend’s house.
And as an additional question… if I have a free web host (mine is blackapplehost), could I make it do this for me?
Must be a simple question for any of you scriptin gurus…
This is where Im starting, this is where i’ll start to learn CGI, PHP, whatever… right now… (*yay*)
3 Responses to “How would I repeat a GET request forever from a home PC?”


Easily accomplished with PHP:
http://nadeausoftware.com/articles/2007/06/php_tip_how_get_web_page_using_curl
Basically, just setup an infinite loop, make the request, and then sleep for a specified interval. Don’t forget to sleep, your you’ll be looking at some rather extreme resource consumption on your computer.
Report this comment
Get as well as Loops and Sleep are all very basic commands, in fact they were around in the time on MS-Dos O.o I have not yet seen a language that this cant be done in under 5 lines.
Report this comment
Grab a copy of wget:
http://gnuwin32.sourceforge.net/packages/wget.htm
Then, create a batch file along the lines of:
:again
wget http://domain/path/to/voting
goto again
If you are using something other than Windows, such as Linux, you can still use wget, but use a shell script such as:
while true ; do wget http://domain/path/to/voting ; done
- kb -
37+ years of computer experience.
Report this comment