Tansaku

Gem Version Build Status Codacy Badge 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
Commands:
  tansaku crawl URL       # Crawl a given URL
  tansaku help [COMMAND]  # Describe available commands or one specific command

$ tansaku help crawl
Usage:
  tansaku crawl URL

Options:
  [--additional-list=ADDITIONAL_LIST]  # Path to the file which includes additonal paths to crawl
  [--host=HOST]                        # Host header to use
  [--threads=N]                        # Number of threads to use
  [--type=TYPE]                        # Type of a list to crawl (admin, backup, database, etc, log or all)
                                       # Default: all
  [--user-agent=USER_AGENT]            # User-Agent header to use

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.