QtRecon uses a JSON configuration file to manage application settings, binary paths, custom tools, and automation rules.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/bouligo/cuterecon/llms.txt
Use this file to discover all available pages before exploring further.
Configuration file location
The configuration file is stored at:XDG_CONFIG_HOME environment variable is set, QtRecon uses that location instead:
If no configuration file exists, QtRecon automatically creates one from the default template
conf.json.example.Configuration structure
The configuration file is organized into several main sections:core_binaries
Defines paths to essential system binaries:nmap: Path to the nmap binary and default argumentsterminal: Terminal emulator for detached jobsgraphical_su: Graphical sudo tool for privileged operations
user_binaries
Defines custom tools and scripts you can execute against targets:name: Display name in the UIbinary: Full path to the executableargs: Command-line arguments with variable substitutiondetached: Iftrue, runs in external window; iffalse, captures output in tabin_terminal: Iftrue, launches in configured terminal emulatoredit_before_launch: Iftrue, prompts to review/edit command before executionworking_directory: Working directory for the process
You can use variables in arguments like
%%%IP%%%, %%%PORT%%%, %%%HOSTNAME%%%, and custom user variables. See the Variables page for details.ports_associations
Maps port numbers to their common service names:autorun
Defines automation rules to execute tools automatically when services are discovered:- Protocol level (
tcporudp) - Port number or
anyfor all ports - Array of tool names from
user_binaries
user_prefs
Application behavior preferences:enable_autorun: Enable automatic tool execution on scan completionenable_autorun_on_xml_import: Run autorun rules when importing XML filesconfirm_before_tab_removal: Prompt before closing tabsdev_null_as_stdin: Redirect stdin to /dev/null for jobsremove_nmap_xml_files_after_scan: Delete nmap output files after processingdelete_logs_on_save: Remove logs when saving workspaceautosave: Enable automatic workspace savingautosave_interval: Autosave interval in milliseconds (default: 5 minutes)preferred_interfaces: Network interfaces for reverse shellspreferred_lport: Default listening port for reverse shellsmonospaced_fonts: Font family for terminal output
user_variables
Custom variables for use in tool arguments:user_binaries args using the %%%VARIABLE_NAME%%% syntax.
snippets
Stored code snippets and commands for quick access:screenshots
Screenshot capture settings:nmap_options
Default nmap scan configuration:ports: Port specification (T: for TCP, U: for UDP)type: Scan type (-sS,-sT, etc.)speed: Timing template (-T0through-T5)additional_args: Extra nmap argumentsskip_host_discovery: Use-Pnflagversion_probing: Enable-sVflagdefault_scripts: Enable-sCflagos_detection: Enable-Oflagtcp_and_udp: Scan both TCP and UDP
Loading configuration
The configuration is loaded at application startup:core/config.py
Configuration validation
QtRecon validates the configuration structure on load:core/config.py
Binary validation
After loading, QtRecon checks that all configured binaries exist and are executable:core/config.py
Reloading configuration
You can reload the configuration without restarting the application:core/controller.py
conf.json manually while QtRecon is running.
