SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sflib: Ensure targetType target param is not empty
Brendan Coles5827e97a7cf7
diff --git a/sflib.py b/sflib.pyindex 1870bfd7..ffa24e34 100644--- a/sflib.py+++ b/sflib.py@@ -750,6 +750,8 @@ class SpiderFoot:Returns:str: scan target seed data type"""+ if not target:+ return NonetargetType = None@@ -758,8 +760,8 @@ class SpiderFoot:{"^\d+\.\d+\.\d+\.\d+/\d+$": "NETBLOCK_OWNER"},{"^.*@.*$": "EMAILADDR"},{"^\+\d+$": "PHONE_NUMBER"},- {"^\".*\s+.*\"$": "HUMAN_NAME"},- {"^\".*\"$": "USERNAME"},+ {"^\".+\s+.+\"$": "HUMAN_NAME"},+ {"^\".+\"$": "USERNAME"},{"^\d+$": "BGP_AS_OWNER"},{"^[0-9a-f:]+$": "IPV6_ADDRESS"},{"^(([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"}