19.09.2017 Views

the-web-application-hackers-handbook

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4 n Mapping <strong>the</strong> Application 115<br />

3. While mapping an <strong>application</strong>, you encounter <strong>the</strong> following URL:<br />

https://wahh-app.com/public/profile/Address.<br />

asp?action=view&location<br />

=default<br />

What information can you infer about server-side technologies? What<br />

can you conjecture about o<strong>the</strong>r content and functionality that may exist?<br />

4. A <strong>web</strong> server’s responses include <strong>the</strong> following header:<br />

Server: Apache-Coyote/1.1<br />

What does this indicate about <strong>the</strong> technologies in use on <strong>the</strong> server?<br />

5. You are mapping two different <strong>web</strong> <strong>application</strong>s, and you request <strong>the</strong> URL<br />

/admin.cpf from each <strong>application</strong>. The response headers returned by each<br />

request are shown here. From <strong>the</strong>se headers alone, what can you deduce<br />

about <strong>the</strong> presence of <strong>the</strong> requested resource within each <strong>application</strong>?<br />

HTTP/1.1 200 OK<br />

Server: Microsoft-IIS/5.0<br />

Expires: Mon, 20 Jun 2011 14:59:21 GMT<br />

Content-Location: http://wahhapp.com/includes/error.htm?404;http://wahh-app.com/admin.cpf<br />

Date: Mon, 20 Jun 2011 14:59:21 GMT<br />

Content-Type: text/html<br />

Accept-Ranges: bytes<br />

Content-Length: 2117<br />

HTTP/1.1 401 Unauthorized<br />

Server: Apache-Coyote/1.1<br />

WWW-Au<strong>the</strong>nticate: Basic realm=”Wahh Administration Site”<br />

Content-Type: text/html;charset=utf-8<br />

Content-Length: 954<br />

Date: Mon, 20 Jun 2011 15:07:27 GMT<br />

Connection: close

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!