Open z3roskills opened 6 years ago
I have a feeling its because its pulling down the latest branch release of massdns 0.3
Thanks @z3roskills for reporting the issue! @jafoca issued a pull request (#10) that should fix the issue (after fresh install), can you please confirm?
I just checked on a Ubuntu fresh install and i am getting the following error
Running massdns
Running Command: python /opt/domained/bin/subbrute/subbrute.py -s /opt/domained/bin/sublst/all.txt vine.com | /opt/domained/bin/massdns/bin/massdns -r resolvers.txt -t A -a -o -w output/vine.com-massdns.txt -
Failed to open output file: Permission denied
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
@z3roskills, sorry for the delay - are you still receiving the same error? Looks like you had a permission denied error and a python error as well. What version of python are you using?
Thanks @z3roskills! Please let me know if there are any additional issues.
Hello @cak The problem was not resolved.
must remove the "-a" option and add S option.
massdnsCMD = "python {} {} {} | {} -r resolvers.txt -t A -o S -w {}-massdns.txt".format(
Looking at the massdns documentation and I you are right! Reopening, thanks @oldesec.
Hello. @cak
Good patch.
There is one more problem.
"massdns" is using an older version.
https://github.com/cak/domained/blob/4509a088a20368d3e79b4fe77339ac94603d816c/domained.py#L289
It is necessary to change to the latest version.
Ex)
git clone https://github.com/blechschmidt/massdns ./bin/massdns
@oldesec Do you still have problem with this?
still massdns problem
root@kalitest:~/domained# python3 domained.py -d site.com -b --bruteall
___/ /__ __ _ ___ _(_)__ ___ ___/ /
/ _ / _ \/ ' \/ _ `/ / _ \/ -_) _ /
\_,_/\___/_/_/_/\_,_/_/_//_/\__/\_,_/
github.com/cakinney
Running massdns
Running Command: python /root/domained/bin/subbrute/subbrute.py /root/domained/bin/sublst/all.txt site.com | /root/domained/bin/massdns/bin/massdns -r resolvers.txt -t A -o S -w output/site.com-massdns.txt Failed to open domain file: No such file or directory ^CKilled
Masscan Complete
Is your script upto date?
yeap, last release
I am experiencing the same issue
I think I found the issue. I'll test again in the next day or so.
Anyone actually successful in fixing this?
When running domained.py with the following parameters:
python domained.py -d example.com -b --bruteall
I get the following output:
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.
Example of changes i made to the script locally.
Once i get these things fixed up the script kicks off but never actually starts running just sits idle as can be seen here.
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.