Skip to content

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

Indentation fix.

smicallef9c662a78ae6d
diff --git a/sflib.py b/sflib.py
index 486d8f35..aa4cbac4 100644
--- a/sflib.py
+++ b/sflib.py
@@ -779,7 +779,7 @@ class SpiderFoot:
# Simple way to verify netblock.
def validIpNetwork(self, cidr):
- try:
+ try:
if '/' in str(cidr) and netaddr.IPNetwork(str(cidr)).size > 0:
return True
else: