Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to not use resolvers.txt #9

Open
HarryR opened this issue Jan 3, 2017 · 0 comments
Open

Option to not use resolvers.txt #9

HarryR opened this issue Jan 3, 2017 · 0 comments
Labels

Comments

@HarryR
Copy link
Collaborator

HarryR commented Jan 3, 2017

Should be able to use a single static resolver, e.g. localhost

Additionally, if the resolvers file contains less than a specific number it throws errors:

Traceback (most recent call last):
  File "dnsbrute/__init__.py", line 64, in run
    resp = self.bruter.query(dnsname, query_type)
  File "dnsbrute/__init__.py", line 238, in query
    resolver.nameservers = random.sample(self.resolvers, sample_size)
  File "/usr/lib/python2.7/random.py", line 323, in sample
    raise ValueError("sample larger than population")
ValueError: sample larger than population

@HarryR HarryR added the bug label Jan 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant