Skip to content

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

sfp_multiproxy: Add check for empty blacklist (#1392)

bcoles02bda24c2ede
diff --git a/modules/sfp_multiproxy.py b/modules/sfp_multiproxy.py
index 82343ea0..b5456bb6 100644
--- a/modules/sfp_multiproxy.py
+++ b/modules/sfp_multiproxy.py
@@ -88,6 +88,10 @@ class sfp_multiproxy(SpiderFootPlugin):
def queryProxyList(self, target, targetType):
proxy_list = self.retrieveProxyList()
+ if not proxy_list:
+ self.errorState = True
+ return False
+
if targetType == "ip":
if target in proxy_list:
self.sf.debug(f"IP address {target} found in multiproxy.org open proxy list.")