System requirements
QtRecon requires:- Python 3.8 or higher
- pipenv for dependency management
- PySide6 for the Qt GUI
- nmap for network scanning
- Linux operating system (tested on Debian-based distributions)
Install with pipenv
Install dependencies with pipenv
Use pipenv to install all required Python packages from the Pipfile.This installs the following dependencies:
pyside6- Qt 6 bindings for Pythonansi2html- Convert ANSI terminal output to HTMLhtml2text- Convert HTML to plain textnetifaces- Network interface informationpillow- Image processing for screenshotspsutil- Process and system utilities
Configuration
QtRecon stores its configuration at:XDG_CONFIG_HOME is not set:
conf.json.example on first launch.
Configuration structure
The configuration file includes:- core_binaries: Main programs like nmap, terminal, and pkexec for privileged scans
- user_binaries: All tools you want to use (nikto, feroxbuster, netcat, etc.)
- ports_associations: Which tools can be used on which ports
- autorun: Programs to launch automatically when ports are discovered
- user_prefs: General preferences and options
- user_variables: Custom variables for command replacement
- snippets: Code snippets and reverse shells
- nmap_options: Default nmap scan settings
You can edit the configuration through the GUI by pressing F10 or by editing the JSON file directly.
Set up privileged scans
To perform SYN scans (-sS) and OS detection, nmap requires root privileges. QtRecon handles this using a graphical sudo program.
Configure the graphical sudo binary
In your Common options:
conf.json, set the graphical_su binary to a program like pkexec, gksu, or kdesudo:/usr/bin/pkexec(PolicyKit, works on most modern systems)/usr/bin/gksu(older GTK systems)/usr/bin/kdesudo(KDE environments)
Ensure nmap is accessible
Verify nmap is installed and the path is correct in Check the nmap path:
conf.json:Verify installation
When QtRecon starts successfully, you’ll see:- The main window with an empty host list
- A log message: “New project started ! Happy recon ;-)”
- Any warnings about missing binaries in the log panel
QtRecon will log warnings for any binaries in your configuration that cannot be found or are not executable. You can safely ignore warnings for tools you don’t plan to use.
Next steps
Quickstart guide
Launch your first scan and explore the QtRecon interface
