[ Content | View menu ]

SMTP authenticatie

Written on 23 mei 2006 13:58

$ printf "robin\0robin\0geheim" | mmencode
cm9iaW4Acm9iaW4AZ2VoZWlt
$ telnet smtphost 25
Trying 18.67.13.317
Connected to smtphost.
Escape character is "^]".
220 Domain.com SMTP Server
HELO mailserver
250 smtp.domain.com
AUTH PLAIN cm9iaW4Acm9iaW4AZ2VoZWlt
235 Authentication successful
$ printf "robin" | mmencode
cm9iaW4=
$ printf "geheim" | mmencode
Z2VoZWlt
$ telnet smtphost 25
Trying 18.67.13.317
Connected to smtphost.
Escape character is "^]".
220 Domain.com SMTP Server
HELO mailserver
250 smtp.domain.com
AUTH LOGIN
334 VXNlcm5hbWU6
cm9iaW4=
334 UGFzc3dvcmQ6
Z2VoZWlt
235 Authentication successful

Let op: Gebruik geen echo in plaats van printf; echo stuurt \n !

Filed under: Altijd handig.

Reageren?

Een reactie plaatsen - RSS Comments

Je moet inloggen om een reactie te kunnen plaatsen.