Giter Site home page Giter Site logo

josue87 / gotator Goto Github PK

View Code? Open in Web Editor NEW
445.0 445.0 56.0 361 KB

Gotator is a tool to generate DNS wordlists through permutations.

License: GNU General Public License v3.0

Go 99.91% Dockerfile 0.09%
bug-bounty bugbounty reconnaissance security-tools subdomain

gotator's Introduction

Hello there ๐Ÿ‘‹

I'm an offensive security enthusiast and I like to write code to develop security tools.

Stats

Most used languages

Contact

gotator's People

Contributors

josue87 avatar kingofbugbounty avatar six2dez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gotator's Issues

Threads Flag & Missing Mutation

@Josue87 Can you please add a flag to control the number of threads meanwhile I also found that gotator is missing one mutation when we don't want to use depth flag so this would be in default mutation list but it is missing
words:

junk

domain:

new.example.com

command

gotator -sub domain -perm words -md | sort -u

Result

example.com
junk.example.com
junk-new.example.com
junk.new.example.com
junknew.example.com
new.example.com
new-junk.example.com
newjunk.example.com
new-new.example.com
newnew.example.com

As you see it is missing new.junk.example.com when it is having new-junk.example.com, results are also containing duplicates

no -adv flag

hey thank you for the tool when i downloaded from binary of go there is no -adv option present

flag provided but not defined: -adv
Usage of gotator:
-depth uint
Specify the depth (Between 1 and 3) (default 1)
-md
Extract domains and subdomains from subdomains found in 'sub' list
-mindup
Set this flag to minimize duplicates. (For heavy workloads, it is recommended to activate this flag)
-numbers uint
Permute the numbers found in the list of permutations
-perm string
List of permutations (1 per line)
-prefixes
Adding gotator prefixes to permutations
-silent
Gotator banner is not displayed
-sub string
List of domains to be swapped (1 per line) [Required]
-t uint
Max Go routines (default 10)
-version
Show Gotator version

Permutation with numbers

Hello,

I recently found an issue on Gotator, which is related to the numbering. Imagine, here is the list of my initial subdomains:

api.target.com
js.target.com
target.com
ws.target.com
www.target.com

I then ran the following command:

gotator -silent -sub subs.txt  -perm vhosts.txt -depth 1 -numbers 3 -mindup -adv -md >> permutation.txt

but the tool is unable to create the js2.target.com, which is pretty odd as I am using the numbers properly. Also, please note that this example subdomain was vulnerable to a subdomain takeover, which is not nice to miss.

Thanks in advance!

Kind regards,
HolyBugx

flag provided but not defined

gotator -sub subdomains.txt -perm /usr/share/wordlists/dns/permutations_list.txt -depth 1 -numbers 10 -mindup -adv -md > permutations.txt 2 โจฏ
When I run the above command it shows this -> flag provided but not defined: -mindup

stdin read support

Hi @Josue87

First of All , Thanks for this Amazing tool !!

Gotator is an Awesome & Nice tool to work with : )

And it will be great and more helpful if implement support for read input from stdin

cat hosts.txt | gotator -perm wordlists.txt

Thanks & Regards,
@zy9ard3

Bug: problem with domains that have three levels

Hello,
It looks like that gotator has a problem with domains that has three levels like:
domain.org.uk
when I use a command like this one:
gotator -sub test_list.txt -depth 1 -numbers 10 -mindup -adv -md| uniq > test-gotator.txt
it generate permutations like:

0.org.uk
12.org.uk
2.org.uk
4.org.uk
ace.org.uk

which as you know are out of scope since the tested domain is domain.org.uk.

Regards

Numbers Switch

@Josue87 It would be good if it have a switch to control the number mutations like if we want to mutate only 5 numbers like:
Gotator -sub domains.txt -perm permutations.txt -depth 3 -numbers +5 -t 200 > output.txt
One more things that gotator is not swapping the word from the subdomain list like:

Wordlist
one
domainlist

test.example.com

gotator mutate like

test.example.com
one.test.example.com
one-test.example.com
onetest.example.com

Here I like to have mutations as below (give attention on test word)

one.test.example.com
test.one.example.com
onetest.example.com
one-test.example.com
testone.example.com
test-one.example.com

Generate Only Mutations

@Josue87 thank you for the tool, can you please introduce a flag to generate only mutations base on a single wordlist without -sub flag

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.