Add configurable nmap host timeout setting

Move nmap host timeout from hardcoded 5m to configurable setting
in app/web/config.py with a default of 2m for faster scans.
This commit is contained in:
2025-11-21 11:11:37 -06:00
parent c4cbbee280
commit 3adb51ece2
2 changed files with 5 additions and 1 deletions

View File

@@ -11,3 +11,6 @@ APP_VERSION = '1.0.0-beta'
# Repository URL
REPO_URL = 'https://git.sneakygeek.net/sneakygeek/SneakyScan'
# Scanner settings
NMAP_HOST_TIMEOUT = '2m' # Timeout per host for nmap service detection