Projects
101 · Security · Network
Async Vuln Scanner
A port scanner I wrote with asyncio. It finds the version of the service on each open port and looks up known vulnerabilities in NVD.
Problem
I wanted to understand what tools like nmap actually do on the network by writing one, not just by reading their output. I also needed a small scanner I could build on for my home network.
What I did
- Wrote a TCP scan that needs no root.
- Added a signature table that pulls product and version out of banners, and an NVD client that caches its answers.
- Next to JSON and HTML reports I added a diff command that compares two scans; I set up a Docker lab with old services to test against.
Flow
- Targets
- Port scan
- Banner · version
- CVE lookup
- Report · diff
Result
It refuses to scan public addresses unless permission is given explicitly. The weekly scan in Homelab Security Panel is built on this scanner.