Automatic scan the network hosts and get operation system, MAC address ... etc.
- Only for MacOS & Linux due to the limitation of packages
$ pip3 install -r requirements.txtRun the net_scanner.py as root for operation system detection
$ sudo python3 net_scanner.py- No arguments needed
- Dealing with functions
- Dealing with
multithreadwhile host scanning [Ref1] - Dealing with return back from the end of the process
- Should double check the host OS using
nmap.scan('<ip_address>', arguments='-O')whennmap3.nmap_os_detectionreturnNull - Can
nmap.PortScannerAsync()/nmap.PortScannerYield()work? [Ref]nmap.PortScannerAsync()seems not working with Python v3.8.2
- Scan over all ports using
host.all_protocols()[Ref] - Nmap chaetsheet : https://technologyredefine.blogspot.com/2017/09/nmap-cheatsheet.html
-
import quene
- 0.1.0 - Initial release (2020-04-02)