banner grabber api
#!/usr/bin/python
import socket
socket.setdefaulttimeout(2)
s = socket.socket()
target = raw_input('Target Web Server : ')
tport = 80
s.connect((target, tport))
s.send('HEAD / HEAD/1.1\nHost: ' + target + '\n\n')
print s.recv(1024)
s.close()