Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to get the ip of a website

nslookup web-address
Comment

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))
Comment

PREVIOUS NEXT
Code Example
Shell :: how to remove all space in file 
Shell :: kubernetes get logs from pod 
Shell :: how to see mac address linux 
Shell :: git chnage to commit id 
Shell :: mvn versions set 
Shell :: shell strip quotes 
Shell :: remove eclipse from ubuntu 
Shell :: install python debian 
Shell :: creating copy of a branch 
Shell :: git remove without deleting 
Shell :: apt vs homebrew 
Shell :: allow ping using cmd 
Shell :: ignore commited files 
Shell :: how to rename origin in git 
Shell :: git return to last commit 
Shell :: d3 install 
Shell :: vscode kali linux 
Shell :: show env in bash 
Shell :: button click event powershell 
Shell :: linux grep recursive 
Shell :: how to remove all vagrant vms 
Shell :: git remove files from repo but not locally 
Shell :: git remanme folder 
Shell :: maven test skip 
Shell :: diskpart commands 
Shell :: remove all containers docker 
Shell :: ubuntu check chmod 
Shell :: Looping over a file lines in bash 
Shell :: how to update linux 
Shell :: how to run debian on docker 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =