SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Handle broken line formats.
Steve1268a17b77d4
diff --git a/modules/sfp_hosting.py b/modules/sfp_hosting.pyindex d71f5e01..5081174a 100644--- a/modules/sfp_hosting.py+++ b/modules/sfp_hosting.py@@ -63,7 +63,10 @@ class sfp_hosting(SpiderFootPlugin):for line in data['content'].split('\n'):if "," not in line:continue- [start,end,title,url] = line.split(",")+ try:+ [start,end,title,url] = line.split(",")+ except BaseException as e:+ continueif IPAddress(qaddr) > IPAddress(start) and IPAddress(qaddr) < IPAddress(end):return [title, url]