Python Forum

Full Version: scan network and grab details of hosts found
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi all,

is there a python tool like nmap/arp that gets all the info of hosts like

ip
mac
make/model
serial/part number
hostname
OS name

i thought i would use a python tool as i could call a subprocess powershell if its a windows host and then get more info about it

thanks,
rob
for python version of nmap, see: https://pypi.org/search/?q=nmap
for python arp see: https://pypi.org/search/?q=arp&o=
can nmap or arp get make/model of the host ie HP 840G4
These are not packages that I have used. If you open the package in PyPi, and click on homepage it will take you to GitHub (or other repository) where you can read whatever documentation is available.
The nmap-scan package seems to have fairly good documentation. (Only a quick observation).
but i thought python would come with its own network tools for this but im guessing it does but there wrappers of other tools like nmap arp etc, i thought python would have its own network tools
well, there's scapy for one.
Others here.