~ubuntu-branches/ubuntu/utopic/curl/utopic-security

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<testcase>
<info>
<keywords>
POP3
Clear Text
LIST
</keywords>
</info>

#
# Server-side
<reply>
<servercmd>
# include the '.\r\n' 3-byte trailer to end the transfer poperly!
REPLY LIST +OK 851 100\r\n.
</servercmd>
</reply>

#
# Client-side
<client>
<server>
pop3
</server>
 <name>
POP3 LIST one message
 </name>
 <command>
pop3://%HOSTIP:%POP3PORT/851 -l -u user:secret
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
<protocol>
CAPA
USER user
PASS secret
LIST 851
QUIT
</protocol>
</verify>
</testcase>