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

Validation missing for resolver file #9

Closed
ehsandeep opened this issue Mar 7, 2020 · 5 comments
Closed

Validation missing for resolver file #9

ehsandeep opened this issue Mar 7, 2020 · 5 comments

Comments

@ehsandeep
Copy link
Member

shuffledns does not validate if the file input passed for the -r resolvers list exists on the system or not and it causes massDNS to fail as it can not run without resolver list, and I suspect #7 could be related to this.

Example:-

root@test:~# cat i_do_not_exists.txt
cat: i_do_not_exists.txt: No such file or directory
root@test:~# shuffledns -w w.txt -d test.com -r i_do_not_exists.txt

       __        ________        __       
  ___ / /  __ __/ _/ _/ /__  ___/ /__ ___
 (_-</ _ \/ // / _/ _/ / -_)/ _  / _ \(_-<
/___/_//_/\_,_/_//_//_/\__/ \_,_/_//_/___/ v1								

		projectdiscovery.io

[WRN] Use with caution. You are responsible for your actions
[WRN] Developers assume no liability and are not responsible for any misuse or damage.
[INF] Started generating bruteforce permutation
[INF] Generating permutations took 40.776µs
[INF] Creating temporary massdns output file: /tmp/shuffledns933032530/bphtn8e7dd9sdquen18g
[INF] Executing massdns on test.com
[ERR] Could not run massdns: could not execute massdns: exit status 1
[INF] Finished resolving. Hack the Planet!
root@test:~# 
@ehsandeep ehsandeep added the bug label Mar 7, 2020
@Ice3man543
Copy link
Member

Closed by #10

@munirhussain2872001
Copy link

shuffledns -r resolvers.txt -d samsung.com -w subdomains-top1million-5000.txt -o output.txt

   __        ________        __       

___ / / __ / / / / / / ___
(
-</ _ / // / / / / -)/ _ / _ (-<
/
////_,//////_/ _,////__/

            projectdiscovery.io

[INF] Current shuffledns version v1.1.0 (latest)
[FTL] Program exiting: execution mode not specified

@ypatel123456789
Copy link

@munirhussain2872001

I am facing same error. Have you resolved it ?

@shammarafzal
Copy link

@munirhussain2872001

I am facing same error. Have you resolved it ?

-mode bruteforce use this at the end of command

@shammarafzal
Copy link

shuffledns -r resolvers.txt -d samsung.com -w subdomains-top1million-5000.txt -o output.txt

   __        ________        __       

___ / / __ / / / / _/ /** ___ (-</ _ / // / / / / -)/ _ / _ (-< /**////,//////__/ ,////__/

            projectdiscovery.io

[INF] Current shuffledns version v1.1.0 (latest) [FTL] Program exiting: execution mode not specified

-mode bruteforce use this at the end of command

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

5 participants