Difference between revisions of "InsomniHack-2012/Reseau/6 FTW"
From Fixme.ch
Line 39: | 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 |
Revision as of 20:13, 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 $