Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

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
Host: ' + target + '

')
 print s.recv(1024)
 s.close()
Comment

PREVIOUS NEXT
Code Example
Python :: inicair venv python 
Python :: cannot import name Glib 
Python :: existing session SeleniumLibrary Instance.open_browser 
Python :: Blender Python perspective camaera 
Python :: python numpy + opencv + overlay image 
Python :: h==gmail 
Python :: % python nootation 
Python :: raspberry pi led python 
Python :: Blender Python set center to center of mass 
Python :: how to type shashank in python 
Python :: how to get the number in the tenths place of a integer in python 
Python :: replace special from beginning of string 
Python :: tkinter set widht 
Python :: if self.quitting: raise BdbQuit in classbased view 
Python :: break line text opencv 
Python :: convert outlook email to text file python 
Python :: ignore nil rows value in openpyxl 
Python :: how tofind records between two values in pyspark 
Python :: multigreading sys.exit does not work 
Python :: reverse lis tpyhon 
Python :: HTTP Error 403: Forbidden django account signup email 
Python :: get data from s3 bucket python 
Python :: tessa thompson 
Python :: logartim normalization python pandas 
Python :: how to apply tanH on pd dataframe 
Python :: qiskit setup 
Python :: how to view back of list in python 
Python :: Sending Emails 
Python :: how to send jobs to queue dynamically 
Python :: make a function that accepts any nuber of arguments python 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =