KB: CheckCon - Examples

Below are example requests you can use with CheckCon.

NOTE: Remember...there needs to be TWO new line characters to indicate the end of the HTTP request header!

Simple GET request

GET / HTTP/1.0
Host: mytestdomain.localhost

GET request with parameters

GET /users.php?search=bobhope&page=1&show=50 HTTP/1.0
Host: mytestdomain.localhost

Simple POST request

POST header:

POST /login.php HTTP/1.0
Host: mytestdomain.localhost
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Content-Length: 50

POST body:

formid=0123456789&username=bobhope&password=wibble