mirror of
https://github.com/usestrix/strix.git
synced 2026-10-15 04:18:10 +00:00
Update strix/modules/registry.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
ebc6126513
commit
fe60556033
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ class ModuleRegistry:
|
|||
|
||||
applicable: list[ScanModule] = []
|
||||
has_auth = bool(fp.auth_patterns)
|
||||
has_jwt = any("jwt" in p.lower() or "bearer" in p.lower() for p in fp.auth_patterns)
|
||||
has_jwt = any("jwt" in p.lower() for p in fp.auth_patterns)
|
||||
has_api = (
|
||||
fp.target_type == "api"
|
||||
or fp.api_surface.endpoints_count > 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue