I often use a scan Android Program called « Fing » on my Network. But this app requires to be connected on his Wifi network and not easy to check your network when you are not at home.

For this, I did a small Python script to scan a network or open port for a specific IP/Site (on my git)

https://git.nerkdesign.com/pporcheret/Pyng

I don’t use nmap script because I met a lot of issue with other nmap/scanner script.

It will show « live » the actives devices in network and show them on a Flask web page using sockets. It will also try to determine the MAC address using the API from :

https://api.macvendors.com/

You can improve the scan if you have an account by removing the line :

time.sleep(.65)

But if you want to use it as free API, this sleep is needed to not reach the limit.

Network Scanner Live
Network live scanning
Port Scanner Live
Port live scanning

Improvements

This project is the minimum for the moment, I will for sure evolve it in the future…

For example, I plan to save the scan in a database to have a kind of CMDB, and maybe add a speedtest on another tab.

Moreover, I plan also to retrieve more information about the targets : such as OS, maybe service running behind a port…)

But these scans, take a long time to get the information and my priority is to have a quick view, nmap is a better school for having more info.


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *