Upload files to "redflare"

This commit is contained in:
2026-06-21 17:45:32 +00:00
parent a85da3ad16
commit 5f4fb52424
5 changed files with 691 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
from redflare.modules import (
ApplicationMappingModule,
HeaderModule,
PassiveReconModule,
PathDiscoveryModule,
SensitiveExposureModule,
SurfaceAnalysisModule,
CVEIntelligenceModule,
NativeBrowserRuntimeModule,
NativeNoAuthModule,
)
PROFILES = {
"quick": [PassiveReconModule, HeaderModule, CVEIntelligenceModule, SensitiveExposureModule],
"web": [PassiveReconModule, HeaderModule, SurfaceAnalysisModule, ApplicationMappingModule, PathDiscoveryModule, CVEIntelligenceModule, SensitiveExposureModule],
"full": [PassiveReconModule, HeaderModule, SurfaceAnalysisModule, ApplicationMappingModule, PathDiscoveryModule, NativeBrowserRuntimeModule, NativeNoAuthModule, CVEIntelligenceModule, SensitiveExposureModule],
}
def build_modules(profile: str):
try:
return [module() for module in PROFILES[profile]]
except KeyError as exc:
raise ValueError(f"unknown profile: {profile}") from exc