Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: [PATCH] Follow redirect to find HTML Title
From: Fyodor <fyodor () insecure org>
Date: Sat, 28 Jun 2008 21:21:44 -0700

On Mon, Jun 16, 2008 at 04:43:19PM +0100, jah wrote:
Hi folks,

Sometimes, when running showHTMLTitle.nse, the default page (at which
the script is targeted) is not at "/" and the host returns HTTP Status
301 or 302.  On the basis that the server may be telling us where the
default page is at, the attached patch allows the script to follow the
redirect (once only) as long as it's at the same host.
Of course, there could be some other reason for the redirect, such as
preventing access to "/" based on User-Agent, but I thought I'd throw
the patch out there in case...

Looks good, Jah!  I've applied it.


Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]