SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Minor tweaks.
smicallef300d65e9e91d
diff --git a/modules/sfp_badpackets.py b/modules/sfp_badpackets.pyindex e63e80d5..638555f2 100644--- a/modules/sfp_badpackets.py+++ b/modules/sfp_badpackets.py@@ -15,9 +15,9 @@ from sflib import SpiderFoot, SpiderFootPlugin, SpiderFootEventfrom netaddr import IPNetworkimport urllib.request, urllib.parse, urllib.errorimport json+class sfp_badpackets(SpiderFootPlugin):-- """Bad Packets:Footprint,Investigate,Passive:Search Engines:apikey:Obtain information for any malicious activities by target"""+ """Bad Packets:Footprint,Investigate,Passive:Search Engines:apikey:Obtain information for any malicious activities by a target"""opts = {'api_key': '',@@ -209,6 +209,10 @@ class sfp_badpackets(SpiderFootPlugin):for result in results:maliciousIP = result.get('source_ip_address')++ if maliciousIP != addr:+ self.sf.error("Reported address doesn't match requested, skipping.", False)+ continueif maliciousIP:maliciousIPDesc = "Bad Packets [ " + str(maliciousIP) + " ]\n"