This video is an attempt to understand how program like nmap works.
Though nmap has a huge number of features but this video shows the basic
of port scanning like crawling through all possible port numbers and
check for their availability. This video is for educational purpose and
not meant to use in unethical ways. Scanning any remote machine without
authorization is a punishable offense
Python is the best language to code with. It is flexible, very less amount of code to be written. This is a socket programming which takes a range of port no and scan for specific IP Address whether the port is open. Please do not use this program on external / public IP Address, it is a criminal offense. You cannot run port scan on ip address without authority or permission of the owner. This program used localhost or local machine ip as host address. Link for the source code : https://drive.google.com/file/d/0BznrW3lgX0ozTWtQekhBSGFaTnM/view?usp=sharing&resourcekey=0-fWtwDR75AuWoGJoBjOSuJw