35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
# ===============================================
|
|
# DNSRecon Environment Variables
|
|
# ===============================================
|
|
# Copy this file to .env and fill in your values.
|
|
|
|
# --- API Keys ---
|
|
# Add your Shodan API key for the Shodan provider to be enabled.
|
|
SHODAN_API_KEY=
|
|
|
|
# --- Flask & Session Settings ---
|
|
# A strong, random secret key is crucial for session security.
|
|
FLASK_SECRET_KEY=your-very-secret-and-random-key-here
|
|
FLASK_HOST=127.0.0.1
|
|
FLASK_PORT=5000
|
|
FLASK_DEBUG=True
|
|
# How long a user's session in the browser lasts (in hours).
|
|
FLASK_PERMANENT_SESSION_LIFETIME_HOURS=2
|
|
# How long inactive scanner data is stored in Redis (in minutes).
|
|
SESSION_TIMEOUT_MINUTES=60
|
|
|
|
|
|
# --- Application Core Settings ---
|
|
# The default number of levels to recurse when scanning.
|
|
DEFAULT_RECURSION_DEPTH=2
|
|
# Default timeout for provider API requests in seconds.
|
|
DEFAULT_TIMEOUT=30
|
|
# The number of concurrent provider requests to make.
|
|
MAX_CONCURRENT_REQUESTS=5
|
|
# The number of results from a provider that triggers the "large entity" grouping.
|
|
LARGE_ENTITY_THRESHOLD=100
|
|
# The number of times to retry a target if a provider fails.
|
|
MAX_RETRIES_PER_TARGET=8
|
|
# How long cached provider responses are stored (in hours).
|
|
CACHE_EXPIRY_HOURS=12
|