Code Monkey home page Code Monkey logo

domained's People

Contributors

cak avatar ccsplit avatar chan9390 avatar jafoca avatar legik avatar mortymorty avatar mrdoel avatar quiquello12 avatar sbim avatar secxena avatar suprdewd avatar valenbg1 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  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

domained's Issues

bruteall does not work

When running domained.py with the following parameters:

python domained.py -d example.com -b --bruteall

I get the following output:

                                            _ 
                                            | |
     _ __ ___  ___ ___  _ __  _ __   ___  __| |
    | '__/ _ \/ __/ _ \| '_ \| '_ \ / _ \/ _` |
    | | |  __/ (_| (_) | | | | | | |  __/ (_| |
    |_|  \___|\___\___/|_| |_|_| |_|\___|\__, |`
         ___/ /__  __ _  ___ _(_)__  ___ ___/ /
        / _  / _ \/  ' \/ _ `/ / _ \/ -_) _  / 
        \_,_/\___/_/_/_/\_,_/_/_//_/\__/\_,_/  
    				reconned.org


Running massdns 


Running Command: /root/domained/bin/subbrute/subbrute.py -s /root/domained/bin/sublst/all.txt | /root/domained/bin/massdns/bin/massdns -r resolvers.txt -t A -a -o -w output/example.com-massdns.txt -
Reading domain list from stdin.
You have started the program with root privileges.
Privileges have been dropped to "nobody" for security reasons.

Usage: 
subbrute.py [options] target_domain
subbrute.py -p target_domain

subbrute.py: error: You must provide a target. Use -h for help.

--- SNIP ---

Masscan Complete

Running Sublist3r 

--- SNIP ---

The script never performs the subbrute + massdns part and just continues with other tools. After investigating the domained.py code and the above output I concluded that the script has bug in it. The following code looks incomplete:

def massdns():
    print("\n\n\033[1;31mRunning massdns \n\033[1;37m")
    word_file = os.path.join(script_path, 'bin/sublst/all.txt' if bruteall else 'bin/sublst/sl-domains.txt')
    massdnsCMD = '{} -s {} | {} -r resolvers.txt -t A -a -o -w {}-massdns.txt -'.format(
        os.path.join(script_path, 'bin/subbrute/subbrute.py'), word_file,
        os.path.join(script_path, 'bin/massdns/bin/massdns'), output_base)
    print("\n\033[1;31mRunning Command: \033[1;37m{}".format(massdnsCMD))
    os.system(massdnsCMD)
    print("\n\033[1;31mMasscan Complete\033[1;37m")
    time.sleep(1)

Specifically, the massdnsCMD string creation does not concatenate also the target domain. The fix that I applied to my local version of domained.py is the following:

    massdnsCMD = '{} -s {} {} | {} -r resolvers.txt -t A -a -o -w {}-massdns.txt -'.format(
        os.path.join(script_path, 'bin/subbrute/subbrute.py'), word_file, domain,
        os.path.join(script_path, 'bin/massdns/bin/massdns'), output_base)

With these changes it works properly.

Maintainers Wanted

I am currently on a hiatus from bug bounty hunting and it would be awesome if there was anyone interested in helping maintain domained.

If you are, please let me know.

Being the top contributors 🤩, @ccsplit, @mzfr, @apoorvrajsaxena would any of you be interested?

EyeWitness install error

Hello,

When installing the "EyeWitness" tool, need root privileges.

Otherwise, the following error occurs.

Thanks.

Running Command: 

#######################################################################
#                          EyeWitness Setup                           #
#######################################################################

[Error]: You must run this setup script with root privileges.

cp: cannot stat 'phantomjs': No such file or directory
mv: cannot stat 'phantomjs': No such file or directory

EyeWitness Installed

https://github.com/cakinney/domained/blob/a765b256b5f806ddf37aa0d946501aa9c4a8278a/domained.py#L255-L257

"python domained.py --install" fails if libldns-dev is not installed

During the execution of
python domained.py --install on Ubuntu 16.04 (I guess this is not limited to this system), there is an error arised during massdns installation:
main.c:15:25: fatal error: ldns/rbtree.h: No such file or directory compilation terminated. Makefile:4: recipe for target 'all' failed make: *** [all] Error 1 make: Leaving directory '/home/xir/dev/bugbounty/domained/bin/massdns'
This is solved with:
apt-get libldns-dev

Maybe it should be added to the docuemntation or the installation script

Idea

Hello @cakinney ,
domained is working good with --noeyewitness switch, if you include SubOver / Subjack (Domain Takeover) with a switch to check domain flyovers too after completing the domain enumeration then it will become a pretty good one to go tool.

Amass moved to OWASP

When installing domained, you get the following amass error:

Installing Amass
package github.com/caffix/amass: no Go files in /root/go/src/github.com/caffix/amass

Amass has moved to https://github.com/OWASP/Amass. Also, instead of using go. It might be easier to use snap.

speed [enhancement]

Check out a spyse API it could be a nice addition to your tool. from my experience, it works faster than most sub finders with the same output.

notify argument parse error

"--notify", help="Notify when script completed", nargs="?", default=False
should be
"--notify", help="Notify when script completed", action="store_true", default=False

No such file or directory domainname all txt file

Hello,

When I enter the command, the following error occurs.

command line : python domained.py -q -d google.com

subfinder Complete

 Opening Sublist3r File

Error Opening Sublist3r File!


 Opening knock File

Error Opening knock File!


 Opening enumall File

Error Opening enumall File!


 Opening massdns File

Error Opening massdns File!


 Opening amass File

Error Opening amass File!


 Opening SubFinder File

Error Opening SubFinder File!


Combining Domains Lists

Traceback (most recent call last):
  File "domained.py", line 496, in <module>
    options()
  File "domained.py", line 470, in options
    subdomainfile()
  File "domained.py", line 342, in subdomainfile
    with open(subdomainAllFile, "r") as domainList:
IOError: [Errno 2] No such file or directory: 'output/google.com-all.txt'

massdns error

Hello guys,

I was experimenting with this tools recently I and found it's current implementation does not work well with massdns. I noticed the sublister which is used by domained (/bin/sublister/sublister.py) behaves differently from sublister.py which is presented in /bin/massdns/sublister.py. If I run "python domained.py -b domain.com -b --bruteall" I never actually get to see massdns's "status screen" and it looks like it got stuck.

I was able to make it work by changing these lines:
massdnsCMD = 'python {} -s {} {} | {} -r resolvers.txt -t A -a -o -w {}-massdns.txt -'.format(
os.path.join(script_path, 'bin/subbrute/subbrute.py'), word_file, domain,

to look like this:

massdnsCMD = 'python {} {} {} | {} -r resolvers.txt -t A -a -o -w {}-massdns.txt -'.format(
os.path.join(script_path, 'bin/massdns/subbrute.py'), word_file, domain,

Then it works perfectly fine.

Thanks!

from shutil import which | cannot import which(import error)

I am running the script in Parrot OS. All the requirements are complete. Parrot OS come with recon-ng preinstalled.
These are the results :
pip install -r ./ext/requirements.txt Requirement already satisfied: argparse in /usr/lib/python2.7 (from -r ./ext/requirements.txt (line 1)) (1.2.1) Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages (from -r ./ext/requirements.txt (line 2)) (2.21.0) Requirement already satisfied: datetime in /usr/local/lib/python2.7/dist-packages (from -r ./ext/requirements.txt (line 3)) (4.3) Requirement already satisfied: ConfigParser in /usr/lib/python2.7/dist-packages (from -r ./ext/requirements.txt (line 4)) (3.5.0b2) Requirement already satisfied: secure-smtplib in /usr/local/lib/python2.7/dist-packages (from -r ./ext/requirements.txt (line 5)) (0.1.1) Requirement already satisfied: netaddr in /usr/lib/python2.7/dist-packages (from -r ./ext/requirements.txt (line 6)) (0.7.19) Requirement already satisfied: zope.interface in /usr/lib/python2.7/dist-packages (from datetime->-r ./ext/requirements.txt (line 3)) (4.3.2) Requirement already satisfied: pytz in /usr/lib/python2.7/dist-packages (from datetime->-r ./ext/requirements.txt (line 3)) (2019.1)

python domained.py Traceback (most recent call last): File "domained.py", line 29, in <module> from shutil import which ImportError: cannot import name which

Remove subbrute

We are using subbrute as one of the enumeration tools but seems like it's broken which causes issues like #9, #38. Also, it looks like that subbrute is no longer under development.

installation issue!!!

python domained.py --install
Traceback (most recent call last):
File "domained.py", line 29, in
from shutil import which
ImportError: cannot import name which

pip install which
Collecting which
ERROR: Could not find a version that satisfies the requirement which (from versions: none)
ERROR: No matching distribution found for which

Idea: Try using SubFinder

Hey there,
Domained is a great wrapper for combining lots of tool.

Since development on the sublist3r tool was really slow, we (a bunch of guys) decided to build subfinder. It's a successor to the sublist3r project improving it a thousand times. It has 30+ sources and many bells and whistles.

Try it out.

EyeWitness error

Installation of the tool was successful but I see the following error when I run the tool :

Running Command: python bin/EyeWitness/EyeWitness.py -f output/<domain>-unique.txt --active-scan --no-prompt --headless  -d output/<domain>-09-18-17-04-56-EW 
[*] RDP libraries not found.
[*] Please run the script in the setup directory!


Please provide a domain. Ex. -d example.com

Invalid domains/subdomains should be removed

Currently the application will send all of the results into the various tools such as EyeWitness which can cause issues such as the one below. Therefore, it would be a good idea to remove invalid domains after the results are returned. This could be done a couple of ways such as trying to resolve the domains and if it errors/cannot obtain an IP address ignoring and/or placing it into an invalid domain list.

I will work on implementing this if I get a chance.

Attempting to screenshot https://.example.com
Process Process-5:
Traceback (most recent call last):
File "/usr/lib/python3.7/encodings/idna.py", line 165, in encode
raise UnicodeError("label empty or too long")
UnicodeError: label empty or too long

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run
self._target(*self._args, **self._kwargs)
File "/home/ec2-user/domained/bin/EyeWitness/EyeWitness.py", line 303, in worker_thread
http_object.resolved = resolve_host(http_object.remote_system)
File "/home/ec2-user/domained/bin/EyeWitness/modules/helpers.py", line 293, in resolve_host
resolved = socket.gethostbyname(system)
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label empty or too long)
Finished in 8636.717457056046 seconds

Originally posted by @tanujjane in #61 (comment)

subfinder not found in bin

ubfinder is not currently in your $PATH

Traceback (most recent call last):
File "domained.py", line 463, in
options()
File "domained.py", line 436, in options
subfinder()
File "domained.py", line 245, in subfinder
if check_gopath("subfinder", "github.com/subfinder/subfinder") and rerun != 1:
File "domained.py", line 198, in check_gopath
if os.environ["GOPATH"]:
File "/usr/lib/python3.7/os.py", line 679, in getitem
raise KeyError(key) from None
KeyError: 'GOPATH'

Stopped at this point

It does nothing after scan some ports and it shows this
"[-] Starting bruteforce module now using subbrute.. "
screen shot 2019-01-01 at 9 04 59 pm

can you please help me out ?
what i am doing wrong?

Consider trying Spyse for subdomains

May be a great data source as they maintain a large DB. As far as I tested, the data is up to date.

Also, I would not use censys subdomains, too many questions for the quality of the provided data. They closely work with the government, and I guess just not interested in regular users.

Massdns script issue

When running domained.py with the following parameters:

python domained.py -d example.com -b --bruteall

I get the following output:

Running massdns 

Running Command: python /opt/domained/bin/subbrute/subbrute.py -s /opt/domained/bin/sublst/all.txt goodhire.com | /opt/domained/bin/massdns/bin/massdns -r resolvers.txt -t A -a -o -w output/goodhire.com-massdns.txt -
Failed to open domain file "-a".
Traceback (most recent call last):
  File "/opt/domained/bin/subbrute/subbrute.py", line 834, in <module>
    print_target(target, record_type, options.subs, options.resolvers, options.process_count, options.print_data, output, json_output)
  File "/opt/domained/bin/subbrute/subbrute.py", line 528, in print_target
    sys.stdout.flush()
IOError: [Errno 32] Broken pipe

I was able to look into the previous resolved issue #8 and noticed from the MASSDNS documentation that the -a flag appears to no longer be an option. Also the -o flag will require S,F or B flag for its output.

Output flags:
  S - simple text output
  F - full text output
  B - binary output

Example of changes i made to the script locally.

def massdns():
    print("\n\n\033[1;31mRunning massdns \n\033[1;37m")
    word_file = os.path.join(script_path, 'bin/sublst/all.txt' if bruteall else 'bin/sublst/sl-domains.txt')
    massdnsCMD = 'python {} -s {} {} | {} -r resolvers.txt -t A -o S -w {}-massdns.txt -'.format(
        os.path.join(script_path, 'bin/subbrute/subbrute.py'), word_file, domain,
        os.path.join(script_path, 'bin/massdns/bin/massdns'), output_base)
    print("\n\033[1;31mRunning Command: \033[1;37m{}".format(massdnsCMD))
    os.system(massdnsCMD)
    print("\n\033[1;31mMasscan Complete\033[1;37m")
    time.sleep(1)

Once i get these things fixed up the script kicks off but never actually starts running just sits idle as can be seen here.

Processed queries: 0
Received packets: 0
Progress: 0.00% (00 h 00 min 00 sec / 00 h 00 min 00 sec)
Current incoming rate: 0 pps, average: 0 pps
Current success rate: 0 pps, average: 0 pps
Finished total: 0, success: 0 (0.00%)
Mismatched domains: 0 (0.00%), IDs: 0 (0.00%)
Failures: 0: 0.00%, 1: 0.00%, 2: 0.00%, 3: 0.00%, 4: 0.00%, 5: 0.00%, 6: 0.00%, 7: 0.00%, 8: 0.00%, 9: 0.00%, 10: 0.00%, 11: 0.00%, 12: 0.00%, 13: 0.00%, 14: 0.00%, 15: 0.00%, 16: 0.00%, 17: 0.00%, 18: 0.00%, 19: 0.00%, 20: 0.00%, 21: 0.00%, 22: 0.00%, 23: 0.00%, 24: 0.00%, 25: 0.00%, 26: 0.00%, 27: 0.00%, 28: 0.00%, 29: 0.00%, 30: 0.00%, 31: 0.00%, 32: 0.00%, 33: 0.00%, 34: 0.00%, 35: 0.00%, 36: 0.00%, 37: 0.00%, 38: 0.00%, 39: 0.00%, 40: 0.00%, 41: 0.00%, 42: 0.00%, 43: 0.00%, 44: 0.00%, 45: 0.00%, 46: 0.00%, 47: 0.00%, 48: 0.00%, 49: 0.00%, 50: 0.00%, 
Response: | Success:               | Total:
OK:       |            0 (  0.00%) |            0 (  0.00%)
NXDOMAIN: |            0 (  0.00%) |            0 (  0.00%)
SERVFAIL: |            0 (  0.00%) |            0 (  0.00%)
REFUSED:  |            0 (  0.00%) |            0 (  0.00%)
FORMERR:  |            0 (  0.00%) |            0 (  0.00%)

Ive tried this on 2 separate Kali instances with the same results.

Running the following command from within the massdns directory i start getting instant results.

./scripts/subbrute.py lists/names.txt example.com | ./bin/massdns -r lists/resolvers.txt -t A -o S -w results.txt
Processed queries: 13179
Received packets: 3938
Progress: 0.00% (00 h 00 min 11 sec / 00 h 00 min 11 sec)
Current incoming rate: 302 pps, average: 357 pps
Current success rate: 242 pps, average: 287 pps
Finished total: 3173, success: 3173 (100.00%)
Mismatched domains: 755 (19.17%), IDs: 10 (0.25%)
Failures: 0: 3.59%, 1: 9.83%, 2: 9.45%, 3: 11.44%, 4: 12.04%, 5: 2.84%, 6: 5.23%, 7: 19.82%, 8: 14.72%, 9: 3.66%, 10: 8.01%, 11: 7.12%, 12: 5.26%, 13: 19.26%, 14: 15.79%, 15: 3.56%, 16: 7.69%, 17: 10.84%, 18: 8.64%, 19: 11.28%, 20: 5.39%, 21: 219.89%, 22: 0.00%, 23: 0.00%, 24: 0.00%, 25: 0.00%, 26: 0.00%, 27: 0.00%, 28: 0.00%, 29: 0.00%, 30: 0.00%, 31: 0.00%, 32: 0.00%, 33: 0.00%, 34: 0.00%, 35: 0.00%, 36: 0.00%, 37: 0.00%, 38: 0.00%, 39: 0.00%, 40: 0.00%, 41: 0.00%, 42: 0.00%, 43: 0.00%, 44: 0.00%, 45: 0.00%, 46: 0.00%, 47: 0.00%, 48: 0.00%, 49: 0.00%, 50: 0.00%, 
Response: | Success:               | Total:
OK:       |            2 (  0.06%) |            3 (  0.08%)
NXDOMAIN: |          161 (  5.07%) |          257 (  6.53%)
SERVFAIL: |         3010 ( 94.86%) |         3678 ( 93.40%)
REFUSED:  |            0 (  0.00%) |            0 (  0.00%)
FORMERR:  |            0 (  0.00%) |            0 (  0.00%

domained based py3 but EyeWitness not suppose py3

while using py3 to install domained via:python domained.py --install:

uilding 'rle' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/ext
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/root/.pyenv/versions/3.7.3/include/python3.7m -c ext/rle.c -o build/temp.linux-x86_64-3.7/ext/rle.o
ext/rle.c: In function ‘initrle’:
ext/rle.c:945:13: warning: implicit declaration of function ‘Py_InitModule’; did you mean ‘Py_Initialize’? [-Wimplicit-function-declaration]
      (void) Py_InitModule("rle", rle_methods);
             ^~~~~~~~~~~~~
             Py_Initialize
ext/rle.c:946:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
...
Extracting rdpy-1.3.2-py3.7-linux-x86_64.egg to /root/.pyenv/versions/3.7.3/lib/python3.7/site-packages
  File "/root/.pyenv/versions/3.7.3/lib/python3.7/site-packages/rdpy-1.3.2-py3.7-linux-x86_64.egg/rdpy/core/log.py", line 42
    print "[*] %s"%message
                 ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("[*] %s"%message)?
...
byte-compiling build/bdist.linux-x86_64/egg/rdpy/core/log.py to log.cpython-37.pyc
  File "build/bdist.linux-x86_64/egg/rdpy/core/log.py", line 42
    print "[*] %s"%message
                 ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("[*] %s"%message)?
...
Running qt4reactor-1.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3yay58f7/qt4reactor-1.6/egg-dist-tmp-as2ofqjt
warning: no previously-included files found matching 'runsetup.py'
  File "build/bdist.linux-x86_64/egg/ghtTests/process_linger.py", line 10
    print "here is some text"
                            ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("here is some text")?

  File "build/bdist.linux-x86_64/egg/qtreactor/qt4base.py", line 394
    exec trial
             ^
SyntaxError: Missing parentheses in call to 'exec'

zip_safe flag not set; analyzing archive contents...
ghtTests.__pycache__.FDtest.cpython-37: module references __file__
creating /root/.pyenv/versions/3.7.3/lib/python3.7/site-packages/qt4reactor-1.6-py3.7.egg
Extracting qt4reactor-1.6-py3.7.egg to /root/.pyenv/versions/3.7.3/lib/python3.7/site-packages
  File "/root/.pyenv/versions/3.7.3/lib/python3.7/site-packages/qt4reactor-1.6-py3.7.egg/ghtTests/process_linger.py", line 10
    print "here is some text"
                            ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("here is some text")?

  File "/root/.pyenv/versions/3.7.3/lib/python3.7/site-packages/qt4reactor-1.6-py3.7.egg/qtreactor/qt4base.py", line 394
    exec trial
             ^
SyntaxError: Missing parentheses in call to 'exec'

sublister issue

Traceback (most recent call last):
File "domained.py", line 489, in
sublist3r()
File "domained.py", line 99, in sublist3r
os.system(Subcmd)
TypeError: () takes exactly 1 argument (2 given)

Error Attempting to screenshot

Attempting to screenshot https://.example.com
Process Process-5:
Traceback (most recent call last):
File "/usr/lib/python3.7/encodings/idna.py", line 165, in encode
raise UnicodeError("label empty or too long")
UnicodeError: label empty or too long

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run
self._target(*self._args, **self._kwargs)
File "/home/ec2-user/domained/bin/EyeWitness/EyeWitness.py", line 303, in worker_thread
http_object.resolved = resolve_host(http_object.remote_system)
File "/home/ec2-user/domained/bin/EyeWitness/modules/helpers.py", line 293, in resolve_host
resolved = socket.gethostbyname(system)
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label empty or too long)
Finished in 8636.717457056046 seconds

Traceback (most recent call last):
File "domained.py", line 463, in
options()
File "domained.py", line 442, in options
colored("\nAll your subdomain are belong to us", colorama.Fore.BLUE)
NameError: name 'colored' is not defined

a request

can you add data source zoomeye.org and fofa.so to your repo? (You don't have to use the API!

Enumall error

This error pops-up if you are running the tool on Debian.

Running Command: python bin/domain/enumall.py <domain>
Traceback (most recent call last):
  File "bin/domain/enumall.py", line 26, in <module>
    from recon.core import base
ImportError: No module named recon.core

Add altdns

I think you should add altdns to bruteforce 4-5 layer of domains.

Sublister Errors Out while scaning particular domains

The script errors out after running sublister and gathering the output

Traceback (most recent call last):
File "domained.py", line 489, in
sublist3r()
File "domained.py", line 99, in sublist3r
os.system(Subcmd)
TypeError: () takes exactly 1 argument (2 given)

adding feature: input a txt file with domains list

Hi,

Can the feature to use a txt file with list of domains be added?

This would allow to input a list of domains and the output would list all the sub-domains of the domains listed in the txt file.

Would be faster than doing it one domain at the time.

Regards

The domain list is required to be supplied

Hello.

"The domain list is required to be supplied." An error message such as Is this normal?

My command line: python domained.py -d google.com -b

Log:

Command line:

Running Command: python /root/domained/bin/subbrute/subbrute.py /root/domained/bin/sublst/sl-domains.txt google.com | /root/domained/bin/massdns/bin/massdns -r resolvers.txt -t A -a -o -w output/google.com-massdns.txt
The domain list is required to be supplied.

Usage: /root/domained/bin/massdns/bin/massdns [options] domainlist (- for stdin)
  -6                     Use IPv6.
  -a  --no-authority     Omit records from the authority section of the response packets.
  -b  --bindto           Bind to IP address and port. (Default: 0.0.0.0:0)
  -c  --resolve-count    Number of resolves for a name before giving up. (Default: 50)
  -e  --additional       Include response records within the additional section.
  -h  --help             Show this help.
  -i  --interval         Interval in milliseconds to wait between multiple resolves of the same domain. (Default: 200)
  -l  --error-log        Error log file path. (Default: /dev/stderr)
  -m  --module           Load a shared module in order to handle packets.
  -n  --norecurse        Use non-recursive queries. Useful for DNS cache snooping.
  -o  --only-responses   Do not output DNS questions.
  -p  --progress         Show the progress and remaining time.
      --finalstats       Write final stats to STDERR when done.
  -q  --quiet            Quiet mode.
      --rcvbuf           Size of the receive buffer in bytes.
  -r  --resolvers        Text file containing DNS resolvers.
      --root             Allow running the program as root. Not recommended.
  -s  --hashmap-size     Set the size of the hashmap used for resolving. (Default: 100000)
      --sndbuf           Size of the send buffer in bytes.
  -t  --type             Record type to be resolved. (Default: A)
  -w  --outfile          Write to the specified output file instead of standard output.

Supported record types:
  A
  AAAA
  ANY
  CNAME
  DNAME
  MX
  NS
  PTR
  SOA
  TXT
  CAA
  TLSA

Enumall Error

Running Enumall

Running Command: python /home/ec2-user/domained/bin/domain/enumall.py example.com
Traceback (most recent call last):
File "/home/ec2-user/domained/bin/domain/enumall.py", line 28, in
from recon.core import base
File "/usr/share/recon-ng/recon/core/base.py", line 32
framework.Framework._spool.write(f"{args[0]}{os.linesep}")
^
SyntaxError: invalid syntax

@mzfr Please help

Use function for colored output instead of repeating ascii strings

Currently, in all the print statements we are doing something like

print("\n\n\033[1;31mRunning Sublist3r \n\033[1;37m")

so instead of doing that we can make a function and pass the string to that function.

def colors(string, color):
    """Make things colorful
    Arguments:
        string {str} -- String to apply colors on
        color {int} -- value of color to apply
    """

    return("\033[%sm%s\033[0m" % (color, string))

After this we'll be able to colorize like

print(colors("Running Sublist3r",92))

Great job!

Hey!

I know the development life has a lot of thankless work, and github doesn't have a comment section last I knew, so I just wanted to say:

Great job! I love this tool, I love the concept of it! Please keep developing it! You're helping many people!

Thank you for all your hard work <3

Eyewitness

Hello,

swtich to skip eyewitness ?
Its too good if you give a ##switch to skip eyewitness.

EyeWitness error

Traceback (most recent call last):
File "/home/ec2-user/domained/bin/EyeWitness/EyeWitness.py", line 612, in
duplicate_check(cli_parsed)
File "/home/ec2-user/domained/bin/EyeWitness/modules/helpers.py", line 309, in duplicate_check
with open(cli_object.d + "/Requests.csv", 'r') as csv_port_file:
IOError: [Errno 2] No such file or directory: '/home/ec2-user/domained/output/example.io-07-30-19-17-47-EW/Requests.csv'

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.