Skip to content
This repository has been archived by the owner on Apr 11, 2021. It is now read-only.

Commit

Permalink
Fix for bruteall in issue #8
Browse files Browse the repository at this point in the history
  • Loading branch information
cak committed Nov 4, 2017
1 parent ba0f63c commit 8619609
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions domained.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ def enumall():
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 -a -o -w {}-massdns.txt -'.format(
os.path.join(script_path, 'bin/subbrute/subbrute.py'), word_file,
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,
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)
Expand Down

0 comments on commit 8619609

Please sign in to comment.