How default-dark/scan-sec works
Scan-sec is a small command-line TCP port scanner. The user enters a host; the script probes a fixed list of ports and prints whether each is open or closed, along with the scan time. The workflow is implemented in one file, so the graph does not split its prompt, scanning, and reporting into artificial modules.
Main entry points: scan.py Port scanner
Components 3
Other components
- User
- Port scanner
scan.py - Target host
Connections 2
- User → Port scanner: enters host
scan.py - Port scanner → Target host: probes ports
scan.py