~ubuntu-branches/ubuntu/lucid/curl/lucid-security

« back to all changes in this revision

Viewing changes to tests/data/test270

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-12-12 15:04:52 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20051212150452-2ymlra67b2p7kjyy
Tags: 7.15.1-1ubuntu1
Resynchronise with Debian to get URL parser overflow fix from 7.15.1
(CVE-2005-4077).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<info>
 
2
<keywords>
 
3
FTP
 
4
PASV
 
5
RETR
 
6
</keywords>
 
7
</info>
 
8
# Server-side
 
9
<reply>
 
10
<data>
 
11
data
 
12
    to
 
13
      see
 
14
that FTP
 
15
works
 
16
  so does it?
 
17
</data>
 
18
<servercmd>
 
19
PASVBADIP
 
20
</servercmd>
 
21
</reply>
 
22
 
 
23
# Client-side
 
24
<client>
 
25
<server>
 
26
ftp
 
27
</server>
 
28
 <name>
 
29
FTP RETR PASV --ftp-skip-pasv-ip
 
30
 </name>
 
31
 <command>
 
32
ftp://%HOSTIP:%FTPPORT/270 --ftp-skip-pasv-ip --disable-epsv
 
33
</command>
 
34
</client>
 
35
 
 
36
# Verify data after the test has been "shot"
 
37
<verify>
 
38
<protocol>
 
39
USER anonymous
 
40
PASS curl_by_daniel@haxx.se
 
41
PWD
 
42
PASV
 
43
TYPE I
 
44
SIZE 270
 
45
RETR 270
 
46
QUIT
 
47
</protocol>
 
48
</verify>