2013-12-22 17:20:50 -05:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
POP3
|
2014-03-30 06:20:19 -04:00
|
|
|
SASL
|
2014-03-30 07:01:15 -04:00
|
|
|
SASL AUTH DIGEST-MD5
|
|
|
|
SASL AUTH PLAIN
|
2014-03-15 06:13:13 -04:00
|
|
|
SASL DOWNGRADE
|
2013-12-22 17:20:50 -05:00
|
|
|
RFC1734
|
|
|
|
RFC2831
|
|
|
|
RFC5034
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<servercmd>
|
|
|
|
AUTH DIGEST-MD5 PLAIN
|
|
|
|
REPLY "AUTH DIGEST-MD5" + Rubbish
|
|
|
|
REPLY * -ERR AUTH exchange cancelled by client
|
|
|
|
REPLY "AUTH PLAIN" +
|
2019-04-18 16:54:35 -04:00
|
|
|
REPLY AHVzZXIAc2VjcmV0 +OK Login successful
|
2013-12-22 17:20:50 -05:00
|
|
|
</servercmd>
|
|
|
|
<data>
|
|
|
|
From: me@somewhere
|
|
|
|
To: fake@nowhere
|
|
|
|
|
|
|
|
body
|
|
|
|
|
|
|
|
--
|
|
|
|
yours sincerely
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
pop3
|
|
|
|
</server>
|
|
|
|
<features>
|
2014-04-06 11:32:05 -04:00
|
|
|
!SSPI
|
2013-12-22 17:20:50 -05:00
|
|
|
debug
|
|
|
|
crypto
|
|
|
|
</features>
|
|
|
|
<name>
|
|
|
|
POP3 DIGEST-MD5 authentication with SASL downgrade
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
pop3://%HOSTIP:%POP3PORT/881 -u user:secret
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
CAPA
|
|
|
|
AUTH DIGEST-MD5
|
|
|
|
*
|
|
|
|
AUTH PLAIN
|
2019-04-18 16:54:35 -04:00
|
|
|
AHVzZXIAc2VjcmV0
|
2013-12-22 17:20:50 -05:00
|
|
|
RETR 881
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|