Create a script that scans all devices connected to the same Wi-Fi network and builds a map of potentially vulnerable machines. The script should detect connected devices, fingerprint them, and highlight weak points like open ports or outdated protocols.
Expected Behavior
- Input: local network range (e.g.,
192.168.0.0/24)
- Process:
- Discover all active devices on the network
- Identify device types if possible (router, phone, laptop, IoT device)
- Scan for common open ports (e.g., 21, 22, 23, 80, 443, 3389)
- Flag weak protocols (FTP, Telnet, SMBv1) as vulnerable
- Output:
- A report showing device IP, hostname (if any), open ports, and risk level
- Color-coded alerts for vulnerabilities (red = critical, yellow = warning, green = safe)
Example Usage
python campusmap.py -n 192.168.0.0/24 -o devices.json
Create a script that scans all devices connected to the same Wi-Fi network and builds a map of potentially vulnerable machines. The script should detect connected devices, fingerprint them, and highlight weak points like open ports or outdated protocols.
Expected Behavior
192.168.0.0/24)Example Usage