Skip to content

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

Make target match less greedy.

smicallefdc56c6335ee7
diff --git a/sflib.py b/sflib.py
index 82cbade9..633787ae 100644
--- a/sflib.py
+++ b/sflib.py
@@ -572,7 +572,7 @@ class SpiderFoot:
{"^\+\d+$": "PHONE_NUMBER"},
{"^\".*\"$": "HUMAN_NAME"},
{"^\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"}
+ {"^(([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"}
]
# Parse the target and set the targetType