File http-trace
Download: http://nmap.org/svn/scripts/http-trace.nse
User Summary
Sends an HTTP TRACE request and shows header fields that were modified in the response.
Script Output
80/tcp open http | http-trace: Response differs from request. First 5 additional lines: | Cookie: UID=d4287aa38d02f409841b4e0c0050c131... | Country: us | Ip_is_advertise_combined: yes | Ip_conntype-Confidence: -1 |_ Ip_line_speed: medium
Requires
author Kris Katterjohn
copyright © Same as Nmap--See http://nmap.org/book/man-legal.html
Functions
| truncate (tab) | Truncates and formats the first 5 elements of a table. |
| validate (response, original) | Validates the HTTP response and checks for modifications. |
Functions
- truncate (tab)
-
Truncates and formats the first 5 elements of a table.
Parameters
- tab: The table to truncate.
Return value:
Truncated, formatted table. - validate (response, original)
-
Validates the HTTP response and checks for modifications.
Parameters
- response: The HTTP response from the server.
- original: The original HTTP request sent to the server.
Return value:
A string describing the changes (if any) between the response and request.




