mailing list archives
Re: [NSE] New httpspider library and http-email-harvest script
From: Martin Holst Swende <martin () swende se>
Date: Thu, 08 Dec 2011 20:18:44 +0100
On 12/08/2011 06:38 PM, Djalal Harouni wrote:
On Thu, Dec 08, 2011 at 01:43:09PM +0100, Martin Holst Swende wrote:
On 12/06/2011 11:50 PM, Patrik Karlsson wrote:
I've just committed (r27349) a httpspidering library inspired by Paulino's
The script http-email-harvest is the first script that makes us of it and
collects e-mail addresses from spidered web content.
Comments and feedback are, as always, welcome.
Would it be possible to have a prerule script which modifies the
http-library to enable 'sniffing' of different things, such as email.
Consider the following:
nmap --script http-grep, http-enum --script-args
For that to work, the http-grep would have to monkeypatch the http
library and add a couple of 'greppers' which would analyse all http
responses before they are
passed to http-enum. Then we could add a bunch of greppers which would
be very simple to implement and could be used anytime http is used, and
The email-harvest script could be replaced by
nmap --script http-grep, http-spider --script-args
Is it at all possible for a pre-rule script to do this? Would it make
We could do better than a script that modifies a library, we can register
callbacks in http-enum etc. There is the "Improve NSE HTTP architecture" 
proposal (without code).
I'd forgotten about that proposal, it definitely makes some good points!
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/