SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Conforming to existing code style
Krishnasis Mandalcef865b03344
diff --git a/sflib.py b/sflib.pyindex bd48c4ad..c52dd131 100644--- a/sflib.py+++ b/sflib.py@@ -1117,11 +1117,11 @@ class SpiderFoot:# Remove whitespace from data.# Credit cards might contain spaces between them# which will cause regex mismatch- data = data.replace(" ","")+ data = data.replace(" ", "")# Extract all numbers with lengths ranging from 13 - 19 digitspossibleCCRegex = "\d{13,19}"- matches = re.findall(possibleCCRegex,data)+ matches = re.findall(possibleCCRegex, data)# Verify each extracted number using Luhn's algorithmfor match in matches: