How sengqt/networktools works
NetworkTools is a small interactive port-scanning tool. A user enters a target and port limit; the CLI constructs a scanner, which probes ports concurrently, reports open ports, and saves the result as JSON. The graph separates the CLI, scanning workflow, and result storage. The README documents the thread count, scan limit, and automatic results directory; implementation details are based on the shown source excerpts.
Main entry points: scanner.py Port scanner · main.py Interactive CLI
Components 7
CLI
- Interactive CLI
Port-Scanner/main.py
Port scanning
- Port scanner
Port-Scanner/scanner.py - Target sockets
- Port work queue
Results
- JSON results
Port-Scanner/scanner.py
Other components
- User
- Local filesystem
Connections 7
- User → Interactive CLI: enters target
Port-Scanner/main.py - Interactive CLI → Port scanner: constructs and invokes
Port-Scanner/main.py - Port scanner → Port work queue: enqueues ports
Port-Scanner/scanner.py - Port scanner → Target sockets: probes ports
Port-Scanner/scanner.py - Interactive CLI → Port scanner: requests JSON save
Port-Scanner/main.py - Port scanner → JSON results: serializes scan
Port-Scanner/scanner.py - JSON results → Local filesystem: writes file
Port-Scanner/scanner.py