Tansaku

Gem Version Build Status Coverage Status

Tansaku is a yet another dirbuster tool.

Features and ToDo(s)

  • [x] Custom path list to crawl
  • [x] Custom User-Agent
  • [x] Threading
  • [x] Crawl by type (admin, backup, database, etc, log and all)

Installation

gem install tansaku

Usage

As a CLI

$ tansaku help
Usage:
  tansaku crawl URL

Options:
  [--additional-list=ADDITIONAL_LIST]                              # Path to the file which includes additional paths to crawl
  [--headers=key:value]                                            # HTTP headers to use
  [--method=METHOD]                                                # HTTP method to use
                                                                   # Default: HEAD
  [--body=BODY]                                                    # HTTP request body to use
  [--timeout=N]                                                    # Timeout in seconds
  [--max-concurrent-requests=N]                                    # Max number of concurrent requests to use
  [--ignore-certificate-errors], [--no-ignore-certificate-errors]  # Whether to ignore certificate errors or not
  [--type=TYPE]                                                    # Type of a list to crawl (admin, backup, database, etc, log or all)
                                                                   # Default: all

Crawl a given URL

As a library

crawler = Tansaku::Crawler("http://localhost")
resutls = crawler.crawl
p results

Defined paths to crawl

See /lib/tansaku/lists/.

Alternatives

License

The gem is available as open source under the terms of the MIT License.