Passive Spider uses search engines (currently only Bing supported) to find interesting information about a target domain.
git clone https://github.com/RandomStorm/passive-spider.git
gem install bundler && bundle install
Place your search engine API keys in the api_keys.config file. Each search engine API has different usage limits and pricing, refer to them for this information. Do not share your keys.
Tested on Mac OS X with Ruby 1.9.3 & Ruby 2.1.2.
--domain || -d The domain you would like to use as a target.
--pages || -p The number of pages you would like to hit from the search engine. Default: 10
--all || -a Do all of the spidering checks. This is the default check.
--allpages Find all pages related to the domain, limited by the --pages option.
--allfiles Find all file types related to the domain, limited to the ones configured.
--neighbours Find other domains that are on the same IP address.
--urlkeywords Find page URLs that have 'interesting' keywords in them.
--keywords Find page content that have 'interesting' keywords in them.
--export || -e Request URLs through proxy.
Specify a proxy (type://ip:port) or use defaults. Default: http://127.0.0.1:8080
--help || -h This output.
- Run all checks against the given domain...
ruby pspider.rb -d www.example.com
- Run all checks against the admin subdomain...
ruby pspider.rb -d admin.example.com
- Run all checks against the given domain, limited to 50 search engine pages...
ruby pspider.rb -d www.example.com -p 50
- Run the IP Neighbour check against the given domain...
ruby pspider.rb -d www.example.com --neighbours
Gathering Information Gathering Linux Mac Passive Spider Ruby Windows