File: test444

package info (click to toggle)
curl 8.18.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 32,016 kB
  • sloc: ansic: 202,975; perl: 20,695; python: 10,293; sh: 6,684; makefile: 1,529; pascal: 239; cpp: 174
file content (188 lines) | stat: -rw-r--r-- 5,517 bytes parent folder | download | duplicates (3)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
# perl:
#for(1 .. 200) {
#}
<info>
<keywords>
HTTP
cookies
--resolve
</keywords>
</info>

# Server-side
<reply>
<data>
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Set-Cookie: cookie-1=yes;
Set-Cookie: cookie-2=yes;
Set-Cookie: cookie-3=yes;
Set-Cookie: cookie-4=yes;
Set-Cookie: cookie-5=yes;
Set-Cookie: cookie-6=yes;
Set-Cookie: cookie-7=yes;
Set-Cookie: cookie-8=yes;
Set-Cookie: cookie-9=yes;
Set-Cookie: cookie-10=yes;
Set-Cookie: cookie-11=yes;
Set-Cookie: cookie-12=yes;
Set-Cookie: cookie-13=yes;
Set-Cookie: cookie-14=yes;
Set-Cookie: cookie-15=yes;
Set-Cookie: cookie-16=yes;
Set-Cookie: cookie-17=yes;
Set-Cookie: cookie-18=yes;
Set-Cookie: cookie-19=yes;
Set-Cookie: cookie-20=yes;
Set-Cookie: cookie-21=yes;
Set-Cookie: cookie-22=yes;
Set-Cookie: cookie-23=yes;
Set-Cookie: cookie-24=yes;
Set-Cookie: cookie-25=yes;
Set-Cookie: cookie-26=yes;
Set-Cookie: cookie-27=yes;
Set-Cookie: cookie-28=yes;
Set-Cookie: cookie-29=yes;
Set-Cookie: cookie-30=yes;
Set-Cookie: cookie-31=yes;
Set-Cookie: cookie-32=yes;
Set-Cookie: cookie-33=yes;
Set-Cookie: cookie-34=yes;
Set-Cookie: cookie-35=yes;
Set-Cookie: cookie-36=yes;
Set-Cookie: cookie-37=yes;
Set-Cookie: cookie-38=yes;
Set-Cookie: cookie-39=yes;
Set-Cookie: cookie-40=yes;
Set-Cookie: cookie-41=yes;
Set-Cookie: cookie-42=yes;
Set-Cookie: cookie-43=yes;
Set-Cookie: cookie-44=yes;
Set-Cookie: cookie-45=yes;
Set-Cookie: cookie-46=yes;
Set-Cookie: cookie-47=yes;
Set-Cookie: cookie-48=yes;
Set-Cookie: cookie-49=yes;
Set-Cookie: cookie-50=yes;
Set-Cookie: cookie-51=yes;
Set-Cookie: cookie-52=yes;
Set-Cookie: cookie-53=yes;
Set-Cookie: cookie-54=yes;
Set-Cookie: cookie-55=yes;
Set-Cookie: cookie-56=yes;
Set-Cookie: cookie-57=yes;
Set-Cookie: cookie-58=yes;
Set-Cookie: cookie-59=yes;
Set-Cookie: cookie-60=yes;
Set-Cookie: cookie-61=yes;
Set-Cookie: cookie-62=yes;
Set-Cookie: cookie-63=yes;
Set-Cookie: cookie-64=yes;
Set-Cookie: cookie-65=yes;
Set-Cookie: cookie-66=yes;
Set-Cookie: cookie-67=yes;
Set-Cookie: cookie-68=yes;
Set-Cookie: cookie-69=yes;
Set-Cookie: cookie-70=yes;
Set-Cookie: cookie-71=yes;
Set-Cookie: cookie-72=yes;
Set-Cookie: cookie-73=yes;
Set-Cookie: cookie-74=yes;
Set-Cookie: cookie-75=yes;
Set-Cookie: cookie-76=yes;
Set-Cookie: cookie-77=yes;
Set-Cookie: cookie-78=yes;
Set-Cookie: cookie-79=yes;
Set-Cookie: cookie-80=yes;

-foo-
</data>
</reply>

# Client-side
<client>
<server>
http
</server>
<name>
Many Set-Cookie response headers
</name>
<command>
http://attack.invalid:%HTTPPORT/a/b/%TESTNUMBER -c %LOGDIR/cookie%TESTNUMBER --resolve attack.invalid:%HTTPPORT:%HOSTIP
</command>
<features>
cookies
</features>
</client>

# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">
GET /a/b/%TESTNUMBER HTTP/1.1
Host: attack.invalid:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*

</protocol>
<file name="%LOGDIR/cookie%TESTNUMBER" mode="text">
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.

attack.invalid	FALSE	/a/b	FALSE	0	cookie-50	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-49	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-48	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-47	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-46	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-45	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-44	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-43	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-42	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-41	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-40	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-39	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-38	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-37	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-36	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-35	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-34	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-33	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-32	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-31	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-30	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-29	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-28	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-27	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-26	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-25	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-24	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-23	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-22	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-21	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-20	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-19	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-18	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-17	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-16	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-15	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-14	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-13	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-12	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-11	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-10	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-9	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-8	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-7	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-6	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-5	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-4	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-3	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-2	yes
attack.invalid	FALSE	/a/b	FALSE	0	cookie-1	yes
</file>
</verify>
</testcase>