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

-d option errors if IP address is passed #62

Closed
joekir opened this issue Nov 10, 2016 · 1 comment
Closed

-d option errors if IP address is passed #62

joekir opened this issue Nov 10, 2016 · 1 comment

Comments

@joekir
Copy link

joekir commented Nov 10, 2016

I hadn't used the tool before and was trying a few options. I incorrectly used an IP address with the domain flag option. It errored far into the code away from the input parsing, due to line 1415 of dnsrecon.py not validating the input format.

 elif opt in ('-d', '--domain'):
            domain = arg

I think it would be good to refactor this section to use argparse.

@darkoperator
Copy link
Owner

Thanks for the tip, will need to thing what is the best ways

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants