I like this because it is one stand-alone file compared to something like nmap which has to be installed.
I have installed Python 3.5 on most of the systems I use. Otherwise, I built a portable windows binary with PyInstaller.
It can scan a LAN at about 600 ports/sec.
https://github.com/jftuga/universe/blob/master/tcpscan.py
https://github.com/jftuga/universe/blob/master/bin/tcpscan.e...
I like this because it is one stand-alone file compared to something like nmap which has to be installed.
I have installed Python 3.5 on most of the systems I use. Otherwise, I built a portable windows binary with PyInstaller. It can scan a LAN at about 600 ports/sec.