-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv_example
More file actions
39 lines (28 loc) · 996 Bytes
/
env_example
File metadata and controls
39 lines (28 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# NMAP Agent Configuration
# === REQUIRED ===
# API credentials (create a user with 'scanner' role in the dashboard)
API_USER=scanner
API_PASS=your_password_here
# Dashboard URL (no trailing slash)
API_URL_BASE=http://your-dashboard-ip:8080
# === SCAN OPTIONS ===
# Scan timeout in minutes (default: 10)
SCAN_TIMEOUT=10
# Enable UDP scanning for DNS, SNMP, TFTP, etc (default: true)
ENABLE_UDP=true
# Enable NSE vulnerability scripts (default: true)
ENABLE_SCRIPTS=true
# Enable stealth mode - uses decoys (default: false)
STEALTH_MODE=false
# Adaptive timing - retry slower if few results (default: true)
ADAPTIVE_TIMING=true
# === PARALLEL MODE OPTIONS ===
# Max concurrent scans when using -p flag (default: 3)
MAX_PARALLEL=3
# === RELIABILITY OPTIONS ===
# Upload retry attempts (default: 3)
RETRY_ATTEMPTS=3
# Delay between retries in seconds (default: 5)
RETRY_DELAY=5
# Directory to cache results if upload fails (default: /tmp/nmap-agent-cache)
CACHE_DIR=/tmp/nmap-agent-cache