May 2018
Beginner
230 pages
4h 49m
English
So far, you have gained knowledge of socket and client-server architecture. At this level, you can make a small program of networks. However, the aim of this book is to test the network and gather information. Python offers very beautiful as well as useful methods to gather information. First, import the socket and then use these methods:
>>> import socket>>> socket.gethostbyname('thapar.edu')'220.227.15.55'>>>>>> socket.gethostbyname('google.com')'173.194.126.64'>>>
I know you are thinking about the nslookup command. Later, you will see more magic. ...
Read now
Unlock full access