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 :: git show files modified since commit 
Shell :: emacs copy paste 
Shell :: remove app with snap 
Shell :: powershell create file and directory 
Shell :: powershell check if software is installed 
Shell :: add local folder to git repo 
Shell :: loop bash 
Shell :: git remove all branches except master windows 
Shell :: install fdupes duplicate content finder on linux 
Shell :: color logging python 
Shell :: create chrome and firefox extension in react 
Shell :: linux, get host user 
Shell :: install torch 
Shell :: does git bash have bashrc 
Shell :: how to run makefile in windows 
Shell :: linux size of folder and subfolders 
Shell :: adding alias to for echo 
Shell :: install tmux on fedora32 
Shell :: Forgot the password I entered during postgres installation 
Shell :: apt-key deprecated 
Shell :: git remove untracked branches 
Shell :: change macos hostname 
Shell :: ubuntu set environment variable permanently 
Shell :: ffmpeg gif images 
Shell :: zip folder linux 
Shell :: show changes at time of git pull 
Shell :: change user default shell 
Shell :: bash for each line of file 
Shell :: md5 bash 
Shell :: git update 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =