InsomniHack-2012/Reseau/6 FTW

From Fixme.ch
Jump to: navigation, search
$ curl -I http://epreuves2.insomni.hack:8081/
>daeh<

>eltit/<esnopser rorrE>eltit<

>daeh/<

>ydob<

>1h/<esnopser rorrE>1h<

.004 edoc rorrE>p<

.)'HEAD'( noisrev tseuqer daB :egasseM>p<

.dohtem detroppusnu ro xatnys tseuqer daB = 004 :noitanalpxe edoc rorrE>p<

>ydob/<
$ curl -I http://epreuves2.insomni.hack:8081/ | rev

<head>

<title>Error response</title>

</head>

<body>

<h1>Error response</h1>

<p>Error code 400.

<p>Message: Bad request version ('DAEH').

<p>Error code explanation: 400 = Bad request syntax or unsupported method.

</body>
$ echo "GET / HTTP/1.0" | rev | curl -I http://epreuves2.insomni.hack:8081/ | rev
GET / HTTP/1.0

HTTP/1.0 200 OK
Server: SimpleHTTP/0.6 Python/2.6.6
Date: Fri, 02 Mar 2012 17:48:22 GMT
Content-type: text/html
Content-Length: 34
Last-Modified: Wed, 29 Feb 2012 10:51:59 GMT

Bravo !

Le code est : WebABoclon