Skip to content

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

Update sflib.py

Krishnasis Mandal31cab960fa54
diff --git a/sflib.py b/sflib.py
index d69ee491..6b780510 100644
--- a/sflib.py
+++ b/sflib.py
@@ -1107,16 +1107,16 @@ class SpiderFoot:
#
# Extracts numbers with lengths ranging from 13 - 19 digits
#
- # Checks the numbers using Luhn's algorithm to verify if..
- # ..the number is a valid credit card number or not
+ # Checks the numbers using Luhn's algorithm to verify if
+ # the number is a valid credit card number or not
#
# Returns a list
def parseCreditCards(self,data):
creditCards = set()
# Remove whitespace from data.
- # Credit cards might contain spaces between them..
- # ..which will cause the regex to fail
+ # Credit cards might contain spaces between them
+ # which will cause the regex to fail
data = data.replace(" ","")
# Extract all numbers with lengths ranging from 13 - 19 digits