Files
rengine/shared/definitions/default_engine.py
T
Yogesh Ojha c6796a4713 chore(engine): lighter default engine and stage defaults, worker shm
The built-in engine drops subfinder-and-crtname-only discovery for the
stage defaults plus the nuclei scan. Port scan, zone transfer and
bruteforce default off; the passive tool set is subfinder and crtname.
worker-scans gets a 512m /dev/shm, and the unused MCP capability-chips
component is removed.

Claude-Session: https://claude.ai/code/session_01Bb4u8p34euie1YFzb7qCPu
2026-09-27 05:01:29 +05:30

32 lines
923 B
Python

"""The built-in engine every project starts with."""
from __future__ import annotations
from shared.enums.scan import Intensity
DEFAULT_ENGINE_NAME = "Default"
DEFAULT_ENGINE_DESCRIPTION = (
"Subdomain discovery on subfinder and crt.name, HTTP probe, screenshots, "
"response mining and a nuclei vulnerability scan at Normal intensity. Built in."
)
DEFAULT_ENGINE_INTENSITY = Intensity.NORMAL.value
VULNERABILITY_STAGE = "vulnerability_scan"
DEFAULT_VULN_SCANNERS: tuple[str, ...] = ("nuclei",)
def default_engine_stages() -> dict[str, dict]:
"""Only the settings that differ from the stage defaults."""
return {
VULNERABILITY_STAGE: {"enabled": True, "scanners": list(DEFAULT_VULN_SCANNERS)},
}
__all__ = [
"DEFAULT_ENGINE_DESCRIPTION",
"DEFAULT_ENGINE_INTENSITY",
"DEFAULT_ENGINE_NAME",
"DEFAULT_VULN_SCANNERS",
"VULNERABILITY_STAGE",
"default_engine_stages",
]