takeit

module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2024 License: MIT

README


Takeit Logo

Fast and efficient subdomain takeover tool based on can-i-take-over-xyz fingerprints.

InstallUsageContributingContact meFollow Twiiter


Takeit is a high-speed, efficient tool for detecting subdomain takeovers. It leverages fast concurrency to match fingerprints from can-i-take-over-xyz, quickly identifying vulnerabilities. Features include checking CNAME records before sending requests, setting maximum response sizes to read, and customizing rate limits. Additionally, you can specify patterns to exclude from the scan, allowing for more targeted and refined results.


Installation

Run the following command to install the latest version.

go install -v github.com/nimaism/takeit/cmd/takeit@latest

Usage

$ takeit -h

████████╗ █████╗ ██╗  ██╗███████╗██╗████████╗
╚══██╔══╝██╔══██╗██║ ██╔╝██╔════╝██║╚══██╔══╝
   ██║   ███████║█████╔╝ █████╗  ██║   ██║
   ██║   ██╔══██║██╔═██╗ ██╔══╝  ██║   ██║
   ██║   ██║  ██║██║  ██╗███████╗██║   ██║
   ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝╚══════╝╚═╝   ╚═╝
                 v1.0.0

Takeit is an advanced tool for detecting subdomain takeovers.

Usage:
  ./takit [flags]

Flags:
INPUT:
   -t, -targets string[]  Targets to scan

CONFIGURATION:
   -mrs, -max-response-size int  Maximum response size to read (kilobyte) (default 5000)
   -timeout int                  Time to wait for network in seconds (default 10)
   -retry int                    Number of times to retry the network (default 1)
   -verifySSL                    Verifies SSL certificates
   -config string                Path to the configuration file
   -cn, -cname                   Check CNAME before send request
   -H, -headers string[]         Custom header/cookie to include in all HTTP requests in header:value format (file)
   -dr, -disable-redirects       Disable following redirects (default false)

RATE-LIMIT:
   -c, -concurrency int          Number of concurrent fetchers to use (default 10)
   -rd, -delay int               Request delay between each network in seconds
   -rl, -rate-limit int          Maximum requests to send per second (default 150)
   -rlm, -rate-limit-minute int  Maximum number of requests to send per minute

UPDATE:
   -duc, -disable-update-check  Disable automatic update check
   -up, -update                 update patterns to latest version

OUTPUT:
   -nc, -no-color  Disable output content coloring (ANSI escape codes)
   -silent         Display output only
  1. Limit response size to 2MB and check CNAME before send HTTP request:
$ cat targets.txt | takeit -timeout 20 -cn -max-response-size 2000 -silent

Contributing

Contributions to this project are welcome! Feel free to open issues, submit pull requests, or suggest improvements.

You can also support this project development by leaving a star ⭐ or by donating me. Every little tip helps!


License

Takit is distributed under the MIT License. See LICENSE file for more informations.

Directories

Path Synopsis
cmd
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL