added notes to settings.yaml
moved core app config (name, version) out of settings and into app/app_settings.py added ability to brand SneakyScope to any name added caching of cert information from crt.sh (cache enable and lenght is configurable in settings.yaml) streamlined header/footer loading to be more correct
This commit is contained in:
24
docs/rule_processing_notes.md
Normal file
24
docs/rule_processing_notes.md
Normal file
@@ -0,0 +1,24 @@
|
||||
Blueprint -> Analyse calls browser.fetch_page_artifacts
|
||||
|
||||
Browser.py -> fetch_page_artifacts
|
||||
grabs html_content
|
||||
run analyse_forms on html_content
|
||||
run analyse_scripts on html_content
|
||||
enrich_url
|
||||
build_rule_checks_overview
|
||||
|
||||
builds the structured dict for return
|
||||
dumps data to disk
|
||||
|
||||
|
||||
text flag mapping for rules
|
||||
# --- Helper: map human-friendly flags to re.* constants ---
|
||||
FLAG_MAP = {
|
||||
"i": _re.IGNORECASE, "ignorecase": _re.IGNORECASE,
|
||||
"m": _re.MULTILINE, "multiline": _re.MULTILINE,
|
||||
"s": _re.DOTALL, "dotall": _re.DOTALL, "singleline": _re.DOTALL,
|
||||
"x": _re.VERBOSE, "verbose": _re.VERBOSE,
|
||||
"a": _re.ASCII, "ascii": _re.ASCII,
|
||||
"u": _re.UNICODE, "unicode": _re.UNICODE,
|
||||
"l": _re.LOCALE, "locale": _re.LOCALE,
|
||||
}
|
||||
Reference in New Issue
Block a user