Skip to content

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

Name capitalization extracted from e-mails.

smicallef917e8ef5b12a
diff --git a/modules/sfp_names.py b/modules/sfp_names.py
index c19c80e4..94b6bda6 100644
--- a/modules/sfp_names.py
+++ b/modules/sfp_names.py
@@ -86,7 +86,7 @@ class sfp_names(SpiderFootPlugin):
if eventName == "EMAILADDR" and self.opts['emailtoname']:
if "." in eventData.split("@")[0]:
- name = " ".join(eventData.split("@")[0].split("."))
+ name = " ".join(map(unicode.capitalize, eventData.split("@")[0].split(".")))
# Notify other modules of what you've found
evt = SpiderFootEvent("HUMAN_NAME", name, self.__name__, event)
self.notifyListeners(evt)