Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Website "Scanner"

From: Nicolas Waisman <nwaisman(at)dsnsecurity.com>
Date: Fri Mar 29 2002 - 15:36:11 EST

Some lines of Python....

from socket import *
import string,sys
s=socket(AF_INET, SOCK_STREAM)
s.connect( (sys.argv[1], 80))
bleh=sys.argv[2]
s.send("GET /"+ bleh + " HTTP/1.0\n\r\n\r") if s.recv(1024).find("HTTP/1.1 404") > -1:

	print "WIIIIIIIIIIIIIIIIIIIII"

s.close()

You can make lots of improvements to this... in 4 lines and 3 minutes of code :D Bye
Nico

backed.up.by.2048.bit.encryption@hushmail.com wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
Received on Sat Jan 11 16:27:00 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:47 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library