(Created page with "<pre> $ 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...") |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 18: | Line 18: | ||
>ydob/< | >ydob/< | ||
| − | + | </pre> | |
| + | <pre> | ||
$ curl -I http://epreuves2.insomni.hack:8081/ | rev | $ curl -I http://epreuves2.insomni.hack:8081/ | rev | ||
| Line 38: | Line 39: | ||
</body> | </body> | ||
| + | </pre> | ||
| + | <pre> | ||
$ echo "GET / HTTP/1.0" | rev | curl -I http://epreuves2.insomni.hack:8081/ | rev | $ echo "GET / HTTP/1.0" | rev | curl -I http://epreuves2.insomni.hack:8081/ | rev | ||
GET / HTTP/1.0 | GET / HTTP/1.0 | ||
| Line 51: | Line 54: | ||
Le code est : WebABoclon | Le code est : WebABoclon | ||
| − | |||
</pre> | </pre> | ||
Latest revision as of 18:14, 8 March 2012
$ 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