Serveur HTTP
Attaquons nous maintenant au serveur web embarqué.
Analyse d’une page html
<html> <head> <title>Index of /sd/DCIM/200PENTX/</title> </head> <body bgcolor="#ffffff"> <H2>Index of /sd/DCIM/200PENTX/</H2> <table> <tr><td colspan=3><h3>Directories</h3></td></tr><tr><td colspan=3><a href="../">Parent Directory</a></td></tr> <tr><td colspan=3> </td></tr> <tr><td colspan=3><h3>Files</h3></td></tr> <tr><td width="40%"><a href="IMGP8970.JPG">IMGP8970.JPG</a></td><td align=right>Sat Mar 16 14:54:02 2013 </td><td align=right>2223409 bytes</td></tr> </table> <hr noshade> Index generated Sun Jan 1 00:01:12 2012 UTC <!-- This program is part of the Boa Webserver Copyright (C) 1991-2002 http://www.boa.org --> </body> </html>
Analyse d’une réponse HTTP (header)
(Status-Line) HTTP/1.1 200 OK Date Sun, 01 Jan 2012 00:10:34 GMT Server Boa/0.94.14rc21 Accept-Ranges bytes Connection close Last-Modified Sun, 01 Jan 2012 00:10:34 GMT Content-Type text/html