| File | Date | Author | Commit |
|---|---|---|---|
| assets | 2025-12-01 |
|
[c78ad2] Updates |
| core | 2025-12-01 |
|
[36cddd] FEAT: New HTML Export Func... |
| screenshots | 2025-11-19 |
|
[d7ddc1] -- |
| templates | 2025-12-01 |
|
[ba3220] NEW: Jinja2 Templates |
| ui | 2025-12-01 |
|
[2bbb1b] UI: New HTML Export UI elements... |
| LICENSE | 2025-11-18 |
|
[1fc56d] Initial commit |
| README.md | 2025-11-19 |
|
[d114db] -- |
| __init__.py | 2025-11-18 |
|
[090af7] Initial commit: CardioNet v0.1.0 - Functional n... |
| cardionet.py | 2025-12-01 |
|
[c78ad2] Updates |
| requirements.txt | 2025-11-18 |
|
[090af7] Initial commit: CardioNet v0.1.0 - Functional n... |

A beautiful, modern Terminal User Interface (TUI) for nmap, built with Python and Textual.
CardioNet simplifies network scanning by providing an intuitive graphical interface for nmap, making it accessible to both beginners and advanced users. Build complex scanning commands visually, execute them in real-time, and export results in multiple formats.
/tmpgit clone https://github.com/hosnizaaraoui/cardionet.git
cd cardionet
pip install -r requirements.txt
chmod +x cardionet.py
CardioNet requires root privileges to perform full network scans:
sudo python3 cardionet.py
Or if you made it executable:
sudo ./cardionet.py
| Shortcut | Action |
|---|---|
| R | Run scan |
| E | Export results |
| C | Clear results |
| ? | Read manual |
| Q | Quit application |
Enter Target: Input an IP address, CIDR range, or domain name
Example: 192.168.1.0/24 or scanme.nmap.org
Choose Scan Type: Select from SYN (default), TCP, UDP, FIN, ACK, Xmas, or Host Discovery
Set Timing: Pick a timing template (T4 recommended for internal networks)
Specify Ports (optional): Leave blank for top 1000 ports, or specify custom ranges
Enable Advanced Options (optional):
Click "Extra Options" to enable OS/Version detection or verbose mode
Click "Open Scripts" to add NSE scripts
Watch Command Preview: See your nmap command build in real-time
Run Scan: Press R or click "Run" to start scanning
Export Results: Press E to export in your choice of format
Find active hosts on your network without detailed port information:
192.168.1.0/24Identify web services on your network:
192.168.1.0/2480,443http-titleGet comprehensive information about a specific host:
192.168.1.1001-65535Minimal network noise scanning:
192.168.1.0/2422,80,443,3306The heart of CardioNet - configure your scan with an intuitive left panel and watch results stream in real-time on the right.

Easily set up all your scan parameters with helpful suggestions and real-time command preview.

Watch your nmap scan execute in real-time with color-coded output and detailed information.

Quick access to advanced scanning features like OS detection, version detection, and verbose mode.

Browse and filter nmap's NSE script library, view descriptions, and add scripts to your scan.

Export your scan results with optional XML parsing for beautiful formatted reports.

Comprehensive guide with scan types, timing templates, and practical examples - all accessible within the app.

CardioNet automatically saves all scan results with timestamps:
/tmp/nmap_scan_target_YYYYMMDD_HHMMSS.nmap (Normal format - always saved)
/tmp/nmap_scan_target_YYYYMMDD_HHMMSS.xml (Optional XML)
/tmp/nmap_scan_target_YYYYMMDD_HHMMSS.gnmap (Optional Grepable)
When exporting XML with parsing enabled, you'll get a beautifully formatted text report:
/tmp/nmap_scan_target_YYYYMMDD_HHMMSS.txt
CardioNet intelligently builds nmap commands based on your configuration:
nmap -sS -T4 -p 1-1000 -O -sV 192.168.1.0/24
You can see the exact command in the Command Preview window before execution.
See requirements.txt for Python dependencies. Additionally:
Human-readable output with all scan details. Always saved automatically.
Machine-parseable XML for integration with other tools. CardioNet can parse this into a beautiful text report.
Easy to parse with grep and other Unix tools. Perfect for automation and scripting.
CardioNet is a powerful security tool. Only scan networks you own or have explicit written permission to scan. Unauthorized network scanning may be illegal in your jurisdiction.
Always use responsibly and ethically.
CardioNet requires root privileges:
sudo python3 cardionet.py
Install nmap on your system:
# Ubuntu/Debian
sudo apt-get install nmap
# Fedora/RHEL
sudo dnf install nmap
# macOS
brew install nmap
Try reducing the port range or using a faster timing template (T5).
Make sure the target is reachable and the firewall isn't blocking nmap.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Built with ❤️ by [Hosni Zaaraoui]
Happy scanning! 🚀