##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule < Msf::Auxiliary
#
# This module sends pii via an attacker smtp machine
#
include Msf::Exploit::Remote::SMTPDeliver
include Msf::Auxiliary::PII
def initialize(info = {})
super(update_info(info,
'Name' => 'VSploit Email PII',
'Description' => %q{
This auxiliary reads from a file and sends data which
should be flagged via an internal or external SMTP server.
},
'License' => MSF_LICENSE,
'Author' => ['willis']
))
register_options(
[
OptString.new('RHOST', [true, "SMTP server address",'127.0.0.1']),
OptPort.new('RPORT', [true, "SMTP server port", 25])
])
end
def run
msg = Rex::MIME::Message.new
msg.mime_defaults
msg.subject = datastore['SUBJECT']
msg.to = datastore['MAILTO']
msg.from = datastore['MAILFROM']
data = create_pii
msg.add_part(data, "text/plain")
msg.add_part_attachment(data, rand_text_english(10))
resp = send_message(msg.to_s)
end
end
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation