So /prog/ I want to write a java program that searches the internet. But i don't mean something gay like google i mean starts with http://a.com then http://b.com so on and so on searching every possibility including sub dirs and so on.
Where should I start
so far i have
import.java.util.*
Name:
Anonymous2008-12-02 21:41
to actually brute-force the internet, you'd have to come up with a list of all possible ip addresses, a list of all possible domain names, and a list of all possible paths on a web server, and then do something like this (pseudo-code): for ip in ip_addresses
for name in domain_names
for path in paths
connection = connect( address = ip, port = 80 )
send( connection, "GET " + path + " HTTP/1.1\nHost: " + name + "\n\n" )
close( connection )
you could probably speed it up a bit by connecting to several ip addresses in parallel, but it'd still be slow as fuck.