File http-grep
Script types:
portrule
Categories:
discovery, safe
Download: http://nmap.org/svn/scripts/http-grep.nse
User Summary
Spiders a website and attempts to match all pages and urls against a given string. Matches are counted and grouped per url under which they were discovered.
Script Arguments
http-max-cache-size, http.pipeline, http.useragent
See the documentation for the http library.httpspider.maxdepth, httpspider.maxpagecount, httpspider.noblacklist, httpspider.url, httpspider.withindomain, httpspider.withinhost
See the documentation for the httpspider library.Example Usage
nmap -p 80 www.example.com --script http-grep --script-args='http-grep.match="[A-Za-z0-9%.%%%+%-]+@[A-Za-z0-9%.%%%+%-]+%.%w%w%w?%w?",http-grep.breakonmatch'
Script Output
PORT STATE SERVICE REASON 80/tcp open http syn-ack | http-grep: | (4) http://example.com/name/ | + name@example.com | + name@example.com | + name@example.com | + name@example.com | (4) http://example.com/sales.html | + sales@example.com | + sales@example.com | + sales@example.com |__ + sales@example.com
Requires
Author: Patrik Karlsson
License: Same as Nmap--See http://nmap.org/book/man-legal.html




