SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
syntax error fixes
Krishnasis Mandaldd1f89bf49a7
diff --git a/modules/sfp_dehashed.py b/modules/sfp_dehashed.pyindex c83dc4fb..f6f82254 100644--- a/modules/sfp_dehashed.py+++ b/modules/sfp_dehashed.py@@ -154,7 +154,7 @@ class sfp_dehashed(SpiderFootPlugin):passwords.append(email + " : " + password + " [" + breachSource + "]")# Check if hashed_password exists- if not entry['hashed_password'] is None or str(entry['hashed_password']).strip() == ''+ if not entry['hashed_password'] is None or str(entry['hashed_password']).strip() == '':hashed_password = entry['hashed_password']if not len(password) == 0:@@ -164,7 +164,7 @@ class sfp_dehashed(SpiderFootPlugin):# Pass the JSON object as RAW_RIR_DATAevt = SpiderFootEvent("RAW_RIR_DATA", str(entry), self.__name__, event)-+# Send the events to the listenerfor email in emails:evt = SpiderFootEvent("EMAILADDR_COMPROMISED", email, self.__name__, event)@@ -175,13 +175,13 @@ class sfp_dehashed(SpiderFootPlugin):self.notifyListeners(evt)for hashed_password in hashed_passwords:- evt = SpiderFootEvent("HASH_COMPROMISED", hashed_password, self.__name__, event])+ evt = SpiderFootEvent("HASH_COMPROMISED", hashed_password, self.__name__, event)self.notifyListeners(evt)if self.checkForStop():return None- return None+ return None# End of sfp_dehashed class