Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Fix BGP_AS_OWNER regex for scan target - Fix #286

bcoles2eee7262a595
diff --git a/sflib.py b/sflib.py
index b78f1cc4..7bcf8932 100644
--- a/sflib.py
+++ b/sflib.py
@@ -571,7 +571,7 @@ class SpiderFoot:
{"^.*@.*$": "EMAILADDR"},
{"^\+\d+$": "PHONE_NUMBER"},
{"^\".*\"$": "HUMAN_NAME"},
- {"\d+": "BGP_AS_OWNER"},
+ {"^\d+$": "BGP_AS_OWNER"},
{"^(([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])\.)*([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])$": "INTERNET_NAME"}
]