A practical Serial Port Enumeration & Connection Tool. This tool helps identify active serial ports and connects to them for debugging hardware devices (like routers, IoT devices, or embedded systems), which is essential for electrical/hardware security testing.
Use with Real Hardware
- Connect USB-to-Serial adapter
- Identify device port:
sudo ./serial_tool.py --listExample output:/dev/ttyUSB0 - FT232R USB UART
Connect to device:
sudo ./serial_tool.py --connect /dev/ttyUSB0 --baud 115200