New Security Researchers Join 10.8K+ verified researchers โ€” submit your profile for review Submit profile โ†’
SecurityCipher
Home Blog Labs Checklists Writeups

Learn Roadmaps, courses & vulnerability guides

  • ๐Ÿ—บ๏ธ Penetration Testing Roadmap Structured offensive security path
  • ๐ŸŽ“ Free Security Courses Verified courses and coupon drops
  • ๐ŸŽฏ Penetration Testing Tricks Field notes & real bypasses
  • ๐Ÿ“„ Secure Code Explain Vulnerable vs secure code comparison
  • ๐Ÿ“– Vulnerability Explain Root causes, PoCs, and remediation
  • ๐Ÿš€ Start Here Beginner walkthrough of all resources

Practice Hands-on browser labs, games & SOC simulator

  • ๐Ÿ”ฌ Interactive Labs SQL injection, AI, AWS cloud review
  • ๐ŸŽฎ Security Games Phishing, JWT, WAF, and more
  • ๐Ÿ›ก๏ธ Shift Zero SOC desk: phish, OTP, malware, tickets
  • ๐Ÿš— On-Call Drive Neon-city arcade security missions
  • โ“ Application Security Quiz Web, secure coding, and cloud quizzes
  • โšก Threat Explorer Interactive AI & vuln attack flows

Checklists & Tools 1,760+ testing controls, utilities & standards

  • โœ… Security Checklists Hub Web, cloud, mobile, API, and infra
  • ๐Ÿ› ๏ธ Security Tools Curated recon, SAST, and bounty tools
  • ๐Ÿ“‹ Writeup Checklists Methodologies derived from real writeups
  • ๐Ÿค– OWASP LLM Top 10 Interactive risk matrix for AI apps
  • ๐Ÿ”Ž CVE Lookup Multi-source CVE search & threat intel
  • ๐Ÿ“˜ Payload Field Manual Safe-first probes, signals, and cheats

Career & Community Live scopes, verified researchers & jobs

  • ๐Ÿ’ฐ Bug Bounty Programs Searchable directory of active scopes
  • ๐Ÿ’ผ Cybersecurity Jobs Verified roles from company career sites
  • ๐Ÿง‘โ€๐Ÿ’ป Security Researchers Community profiles and submissions
  • ๐ŸŽค Security Conferences Upcoming global infosec events
  • ๐Ÿงฎ CVSS Severity Calculator Accurate CVSS 3.1 & 4.0 calculator
  • ๐Ÿงญ Career Roadmaps AppSec, Cloud, and SOC career paths
Browse All Resources 1,760+ Checklists โ€ข 18K+ Writeups โ€ข 15+ Interactive Labs Freelance Security โ†’
About
Freelance SecurityFreelance
← Security Tools View on GitHub

gotator

Generates DNS wordlists through permutations for discovering more subdomains.

Gotator

gotator gotator gotator gotator gotator

Gotator is a tool to generate DNS wordlists through permutations.


๐Ÿ› ๏ธ Installation

If you want to make modifications locally and compile it, follow the instructions below:

> git clone https://github.com/Josue87/gotator.git
> cd gotator
> go build

If you are only interested in using the program:

> go install github.com/Josue87/gotator@latest

๐Ÿณ Docker option:

> git clone https://github.com/Josue87/gotator.git
> cd gotator
> docker build -t gotator . 
# Usage 
> docker run gotator -sub subdomains.txt  [...]

Note If you are using version 1.16 or higher and you have any errors, run the following command:

> go env -w GO111MODULE="auto"

To upgrade the version add the -u parameter to the installation command.

โœจ Features

Gotator has the following features for permutation:

  • Checks domain and TLD analyzing ccSLDs to avoid going out of scope (example.com, example.com.mx, etc.).
  • Permute numbers up and down [-numbers ], for example:
    • Target subdomain is 10 and numbers flag is set to 3 [-numbers 3], as a result we will have between 7 and 13.
    • Target subdomain is dev1 and numbers flag is set to 3 [-numbers 3], we will see dev0, dev1, dev2, dev3, and dev4 (avoiding negative numbers).
    • Target sudomain is test10-demo2 and numbers flag is set to 1 [-numbers 1], among the results we will see test11-demo2.example.com, test9-demo2.example.com, test10-demo3.example.com or test10-demo1.example.com. (Only one number changes at a time).
  • Gotator has 3 levels of depth [-depth ]:
    • If depth is set to 1 (default mode), to permute test word on example.com, we will get test.example.com.
    • If depth is set to 2, and we have to permute dev and demo on example.com, we will obtain dev.demo.example.com or demo-dev.example.com apart from demo.example.com and dev.example.com. Depth level 3 is an extension of this example.
  • Using -mindup flag you can control and reduce duplicates (due to the high number of lines generated, the objective here is to reduce as much as possible the domains with almost null possibilities to exist):
    • If we have test.example.com and the next permutation will be test again, it is ignored.
    • If we have testing.example.com and test comes up, when matching test it will be joined with . and -, avoiding testtesting.example.com
    • If we have 100.example.com and it gets 90 to permute, the permutation is ignored as it already has a number permutation feature.
    • If we have test100.example.com and it gets test to permute, we remove numbers and test==test so the permutation is ignored as it already has something very similar.
  • Using adv flag:
    • For the subdomains within the target, for example demo210.example.com, we get the value demo210 and add it to the permutations list. If we have test-dev.domain.com then we add to permutations test-dev, test and dev (only if they are not already on the list).
    • For permutation words, if gotator receives demo-test it adds demo-test, demo and test to the list.
    • Only in depth 1. With this option if subdomain target is tech.example.com and permutation is test we also interchange the position for the permutation "-" and "", obtaining results such as techtest.example.com and tech-test.example.com (check example 1).
  • Mode to "swap" domains, i.e. if the target is dev.tech.example.com, it will be added as target tech.example.com and example.com [-md].
  • Option to add default permutations list defined in gotator [-prefixes].
    • List of prefixes: 1rer, 2, 2tty, admin, api, app, bbs, blog, cdn, cloud, cuali, demo, dev, dev2, email, exchange, forum, ftp, gov, govyty, gw, host, m, mail, mail2, mx1, mysql, news, ns, ns1, owa, portal, pre, pro, prod, prueba, qa, remote, secure, server, shop, smtp, store, support, test, test, tty, vpn, vps, web, ww1, ww42, www, www2.
  • Only the results are written to the standard output. Banner and messages are sent to the error output. So you can pipe the command.

๐Ÿ—’ Options

The flags that can be used to launch the tool:

FlagTypeMandatoryDescriptionExample
substringyesList of domains to be swapped.-sub subdomains.txt
permstringnoList of permutations.-perm permutations.txt
depthuintnoConfigure the depth (Between 1 and 3) - Default 1.-depth 2
numbersuintnoConfigure the number of iterations to the numbers found in the permutations (up and down). Default 0 Skip!. This option penalizes performance, use small numbers-numbers 10
prefixesboolnoAdding default gotator prefixes to permutations. If not configured perm is used by default. If perm is specified with this flag you merge the permutations.-prefixes
mdboolnoExtract 'previous' domains and subdomains from subdomains found in the list 'sub'.-md
advboolnoAdvanced option. Generate permutations words with subdomains and words with -. And joins permutation word in the back (depth 1).-adv
mindupboolnoSet this flag to minimize duplicates. (For heavy workloads, it is recommended to activate this flag).-mindup
fastboolnoDon't check to root domains (Take care with your scope)-fast
silentboolnoGotator banner is not displayed.-silent
tuintnoMax Go routines (Default 100). Note: Data is painted by the console, threads may increase processing time-t 200
versionboolnoShow Gotator version-version

๐Ÿ‘พ Usage

gotator -sub domains.txt -perm permutations.txt -depth 2 -numbers 5 > output.txt

To filter the result and remove possible duplicates:

gotator -sub domains.txt -perm permutations.txt -depth 3 -numbers 10 -md | uniq > output2.txt

Change uniq to sort -u of the previous command if you want to sort them. (Not recommended due to time)

Note: If you are compiling locally don't forget the ./ in front of your binary!

๐Ÿš€ Examples

Note: The examples may correspond to earlier versions (where -mindup and adv were not used).

We have the following lists:

image

In the first example we mutate on the specified subdomain

image

In the following example we instruct Gotator to extract possible domains from the subdomains with -md:

image

You can see that example.com is taken into account. Now an example with a list of permutations containing test100demo and we give it the argument -numbers 3:

image

It is possible to see a greater mutation depth and also specify the prefixes parameter (which adds a small mutation list).

image

The last example shows only part of the output.

Finally, an example with silent mode and different depths with output redirection to a file.

image

๐Ÿ‘‰ Disclaimer

This tool can generate huge size files and some duplicates, we encourage to filter the output with uniq or sort -u and take care of depth flag due to the size output (it's easy to generate files > 10 GB). Keep in mind piped output to other tools requires the tool processing the whole output at once (sort, uniq).

  • Examples:
# Filter output by size
gotator -sub subs.txt -perm perm.txt -depth 2 -numbers 5 -md | head -c 1G > output1G.txt

# Filter output by lines
gotator -sub subs.txt -perm perm.txt -depth 3 -mindup -numbers 20 | head -n 100000 > output100Klines.txt

# Sort unique lines
gotator -sub subs.txt -perm perm.txt -depth 2 -mindup -numbers 10 -prefixes | sort -u > outputSortUnique.txt

# Unique lines (only removes duplicate lines that follow each other) 
gotator -sub subs.txt -perm perm.txt -depth 3 -mindup | uniq > outputUnique.txt

# Unique lines 
gotator -sub subs.txt -perm perm.txt -depth 3 -mindup -adv | anew > outputAnew.txt

# Sort unique with limit size
gotator -sub subs.txt -perm perm.txt -prefixes -adv | head -c 1G | sort -u > output1GSortedUnique.txt

Note: Examples have been given using sort -u, that will slow down the generation of results. There is no need to sort the results, it is recommended to use anew.

Notice: This tool generates a lot of output information, it is recommended to use the mindup flag to reduce the number of lines.

Press Escape to close the search panel.

Donate

Buy me a Coffee

Penetration Testing Services

penetration Testing Services

Web Application Security Quiz

Web Application Security Quiz

Daily Bug Bounty Writeups - Twitter

Daily Bug Bounty Writeups

Download our Latest Android Application

Guide for Penetration Testing

Daily Bug Bounty Writeups - Telegram

Daily Bug Bounty Writeups

Author

Piyush
Senior Product Security Engineer

Ethical Hacker || Penetration Tester || Gamer || Blogger || Product Security Engineer || AI Security

READ ARTICLE

Donate

Buy me a Coffee

Recent Posts

  • Inside Java2Shell (CVE-2026-114938)
    Inside Java2Shell (CVE-2026-114938)
    November 18, 2026/
    0 Comments
  • Why GTA 5 Was a Hacker’s Playground โ€” And The Exact Security Architecture GTA 6 Needs
    Why GTA 5 Was a Hacker’s Playground โ€” And The Exact Security Architecture GTA 6 Needs
    November 18, 2026/
    0 Comments
  • Securing the AI Supply Chain: A Hands-On AI-BOM Playbook for Pickle RCE, Poisoned Datasets, and CI Gates
    Securing the AI Supply Chain: A Hands-On AI-BOM Playbook for Pickle RCE, Poisoned Datasets, and CI Gates
    November 17, 2026/
    0 Comments

Follow Us

SECURITY DISPATCH

Subscribe to SecurityCipher

Get the latest bug bounty writeups, offensive security tooling, and zero-day analyses delivered to your inbox.

Subscription Form

SecurityCipher

Practical security guides, vulnerability deep-dives, and hands-on resources for bug bounty hunters and penetration testers.

Useful Links

  • Security Checklists
  • Cybersecurity Jobs
  • Blogs
  • Docs
  • About
  • Contact

Free Resources

  • Interactive Security Labs
  • Security Tools Directory
  • Pentest Roadmap
  • OWASP LLM Top 10
  • Bug Bounty Writeups
  • Bug Bounty Programs
ยฉ 2026 Security Cipher. All rights reserved. Privacy Policy ยท Terms & Conditions ยท DMCA ยท
PRIVACY & DATA CONTROLS

Privacy & Cookie Preferences

We use essential cookies to maintain secure sessions and analyze anonymized telemetry to optimize our research and interactive labs.

Manage anytime via our Privacy Policy or footer settings.

Security Researchers
Security Researchers
OPEN DIRECTORY Verified Network

Are you a security researcher or bug hunter?

Join our open directory of verified pentesters, showcase your achievements, and get recognized!

Submit Researcher Profile โ†’