Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to find a website ip address

import socket
# create an INET, STREAMing socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
print("What website's ip would you like to find?")
site = input()

print((socket.gethostbyname(site), 80))
 
PREVIOUS NEXT
Tagged: #find #website #ip #address
ADD COMMENT
Topic
Name
6+5 =