Home page logo
/
Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News

Sponsors

SolarWinds makes easy-to-use enterprise IT management software to help IT pros solve problems every day and help to enable efficient and effective management of networks and IT environments.

Join our online community of over 100,000 IT professionals talking shop. Get involved. Gain insights. Share tips and tricks. Visit thwack today!


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

Nmap Site Navigation

Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]