Re: A script for scanning the internet for one particular index.html?



On Sat, 22 Sep 2007 20:32:59 +0200, Tee Jay rearranged some electrons to
say:

"Allen Kistler" <ackistler@xxxxxxxxx> wrote in message
news:%0cJi.10362$924.3565@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Floyd L. Davidson wrote:
Man-wai Chang ToDie <toylet.toylet@xxxxxxxxx> wrote:
I want to know how I make a script for scanning the entire internet
(127.0.0.1 - 255.255.255.255)
for one unique index.html file (I got the index.html file I'm
looking
for)

use wget to fetch the index.html into a file then grep -i its
content.

How many decades will it take a PC to search half the Internet that
way?

Not quite half.

Routable addresses are (theoretically):
the range 1.0.0.0/8 - 223.0.0.0/8
minus:
10.0.0.0/8
127.0.0.0/8
169.254.0.0/16
172.16.0.0/12
192.0.2.0/24
192.168.0.0/16

In the meantime, however, this request seems an awful lot like what
bots do to look for new servers they can infect.

Ok, that I can ensure it's not for. It's actually more a hypothetic
question rather than a request. I just wanna know stuff like that :)


"I want to know how I make a script for scanning the entire internet
for one unique index.html file (I got the index.html file I'm looking for)
and then whenever it finds a match to the index.html file saving the
results into a textfile, all scanning done using standar http port 80.
So the end result will be a text file contaning the ip addresses found
matching the index.html I got"

Doesn't sound like a hypothetical to me.. sounds like you are doing
something specific (and, suspicious).




.


Quantcast