Skip to content

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

sfp_arin: Report HUMAN_NAME directly rather than relying on sfp_names.

smicallef4d8f551006ec
diff --git a/modules/sfp_arin.py b/modules/sfp_arin.py
index b2471b16..81b1852e 100644
--- a/modules/sfp_arin.py
+++ b/modules/sfp_arin.py
@@ -71,7 +71,7 @@ class sfp_arin(SpiderFootPlugin):
# This is to support the end user in selecting modules based on events
# produced.
def producedEvents(self):
- return ["RAW_RIR_DATA"]
+ return ["RAW_RIR_DATA", "HUMAN_NAME"]
# Fetch content and notify of the raw data
def fetchRir(self, url):
@@ -153,11 +153,7 @@ class sfp_arin(SpiderFootPlugin):
sname = name.split(", ", 1)
name = sname[1] + " " + sname[0]
- # A bit of a hack. The reason we do this is because
- # the names are separated in the content and sfp_names
- # won't recognise it. So we submit this and see if it
- # really is considered a name.
- evt = SpiderFootEvent("RAW_RIR_DATA", "Possible full name: " + name,
+ evt = SpiderFootEvent("HUMAN_NAME", name,
self.__name__, self.currentEventSrc)
self.notifyListeners(evt)