IMAP, POP3 - 110,143,993,995

IMAP Commands

POP3 Commands

Interacting with service

# POP3
telnet ip 110

# login using username and password
USER admin
PASS password

# list all mails of user
LIST 

# read mails using id no.   
RETR 1

Nmap

# nmap scan  
nmap ip -sV -p110,143,993,995 -sC

cURL

# footprinting using curl with valid user and pass 
curl -k 'imaps://ip' --user user:p4ssw0rd

curl -k 'imaps://ip' --user user:1234 -v

OpenSSL - TLS Encrypted Interaction POP3

# OpenSSL - TLS Encrypted Interaction POP3
openssl s_client -connect ip:pop3s

# OpenSSL - TLS Encrypted Interaction IMAP
openssl s_client -connect ip:imaps

Last updated