Skip to content

Instantly share code, notes, and snippets.

@fedir
Last active February 22, 2024 17:06
Show Gist options
  • Save fedir/1d8f8fb8a5f80090705ef7793936216a to your computer and use it in GitHub Desktop.
Save fedir/1d8f8fb8a5f80090705ef7793936216a to your computer and use it in GitHub Desktop.
Manual testing IMAP via OpenSSL

Manual testing IMAP via OpenSSL

Shell commands

telnet example.com 143
openssl s_client -crlf -connect example.com:993
openssl s_client -connect example.com -tls1_2
nmap --script ssl-enum-ciphers -p 443 example.com

IMAP commands, when working via openssl manually

1 login email@example.com passwordgoeshere
1 list "" "*"
3 select INBOX
4 status INBOX (MESSAGES)
5 fetch 1 ALL
6 logout

Ressources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment