AutoRecon/autorecon
MrMatch246 7c32153e0a add --import-nmap flag to skip port scanning from existing XML
Adds --import-nmap XML_FILE which parses an existing nmap XML scan
result and feeds the discovered hosts/services directly into the
service-scan plugin pipeline, skipping all port scan plugins.

- parse_nmap_xml() extracts open ports and service names from the XML
- When no targets are specified, all hosts in the XML become targets
- When explicit targets are given, they are looked up in the XML;
  any target not found falls back to normal port scanning with a warning
- Semaphore setup, port_scan_plugin_count, and main loop task counter
  are updated to behave like --force-services (service-scans only)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 17:50:25 +02:00
..
default-plugins Merge branch 'AutoRecon:main' into main 2026-04-23 13:43:50 +02:00
wordlists Update dirbuster.txt 2024-06-10 18:45:52 -04:00
__init__.py Revert "Reformatted code to be pip compatible." 2021-09-12 13:05:27 -04:00
config.py add --import-nmap flag to skip port scanning from existing XML 2026-04-23 17:50:25 +02:00
config.toml Minor config changes. 2022-01-05 20:45:50 -05:00
global.toml Reformatted code to be pip compatible. 2021-09-14 15:50:12 -04:00
io.py Fixed / improved pattern matching. 2022-01-18 20:00:33 -05:00
main.py add --import-nmap flag to skip port scanning from existing XML 2026-04-23 17:50:25 +02:00
plugins.py get_option() update 2022-06-12 16:22:20 -04:00
targets.py I/O Updates, New Subdomain Enumeration Plugin 2022-01-13 18:33:45 -05:00