|Just another Perl shrine|
Re: request URL from a specified IP addressby williams554 (Sexton)
|on Oct 19, 2011 at 02:33 UTC||Need Help??|
When I read your post you seem to be asking, "I want to test many IP addresses for a URL (or URI)" because you were thinking you could accomplish this by just editing the /etc/hosts file and then test. If I've read you're problem correctly then something like this would work or get you started.
I would probably put all of my IPs in a file:
and call it ip.txt
and then cat ip.txt | test_url.pl Something like this... Good luck, Rob