File: 111-Compac.py

package info (click to toggle)
cherokee 0.7.2-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 8,808 kB
  • ctags: 6,577
  • sloc: ansic: 45,071; python: 9,628; sh: 9,468; makefile: 1,639; xml: 61; perl: 32
file content (19 lines) | stat: -rw-r--r-- 967 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from base import *

class Test (TestBase):
    def __init__ (self):
        TestBase.__init__ (self)
        self.name = "Compaq Web Enterprise Management bug"

        self.request           = "GET /<!.StringHttpRequest=Url> HTTP/1.1\r\n"        + \
                                 "Connection: Close\r\n"                              + \
                                 "Host: localhost\r\n"                                + \
                                 "Pragma: no-cache\r\n"                               + \
                                 "User-Agent: Mozilla/4.75 [en] (X11, U; Nessus)\r\n" + \
                                 "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*\r\n" + \
                                 "Accept-Language: en\r\n"                            + \
                                 "Accept-Charset: iso-8859-1,*,utf-8\r\n"
                                 
        self.expected_error    = 404