TypeError / domained

Multi Tool Subdomain Enumeration
GNU General Public License v3.0
721 stars 158 forks source link

The domain list is required to be supplied #38

Open oldesec opened 5 years ago

oldesec commented 5 years ago

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
oldesec commented 5 years ago

After a while, a Python error occurs.

Traceback (most recent call last):
  File "/root/tools/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 "/root/tools/domained/bin/subbrute/subbrute.py", line 528, in print_target
    sys.stdout.flush()
IOError: [Errno 32] Broken pipe

Hmm... Perhaps, other module problems?