Answers for "banner grabber api"

0

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()
Posted by: Guest on April-05-2021

Python Answers by Framework

Browse Popular Code Answers by Language