How meltasploit/tools-cipher-x works
CIPHER-X is a small Python CLI for displaying the local IP and hostname, looking up public IP geolocation, and repeatedly checking connectivity with ping. The menu in main.py dispatches each selected operation. Source excerpts show the external API and ping calls; the local lookup uses Python’s socket API. All product logic resides in main.py, with terminal colors defined in color.py.
Main entry points: main.py Menu and dispatch · color.py Terminal colors
Components 9
Other components
- CLI user
- Menu and dispatch
main.py - Local IP info
main.py - IP geolocation
main.py - Connectivity monitor
main.py - Terminal colors
color.py - Socket API
- IP geolocation API
- System ping
Connections 10
- CLI user → Menu and dispatch: selects option
- Menu and dispatch → Local IP info: dispatches
- Menu and dispatch → IP geolocation: dispatches
- Menu and dispatch → Connectivity monitor: dispatches
- Local IP info → Socket API: resolves host
- IP geolocation → IP geolocation API: requests lookup
- IP geolocation API → IP geolocation: returns JSON
- Connectivity monitor → System ping: runs ping
- System ping → Connectivity monitor: returns status
- Menu and dispatch → Terminal colors: uses formatting