-
Notifications
You must be signed in to change notification settings - Fork 13.9k
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
Some issue on every Auxiliary modules parsing RHOSTS #8408
Comments
@clee-r7 / @darkbushido this is right in your wheelhouse |
We thing there is something wrong because if we want to scan a list of machines entries on a domain it's unbeliveable that we have to check if they are alive on the net before.... |
It don't believe it checks if they are alive, it just tries to convert the DNS entries into IP addresses. I'm guessing your file contains a list of hostnames? |
You right, as we have written in the first post "We suppose the module have some issue when it encounters a not solved dnsname" so we are telling the same... in any case yes we have a list of hostnames |
ran into this awhile back. here is my workaround http://carnal0wnage.attackresearch.com/2015/08/metasploit-vhosts-in-mass.html |
Hi! This issue has been left open with no activity for a while now. We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 30 days since the last update here. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. |
Hi again! It’s been 60 days since anything happened on this issue, so we are going to close it. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. |
Every auxiliary module fails to validate RHOSTS passing a file or single occurrency when one or more of the target machine aren't available on the network, receiving the "Auxiliary failed:Msf::OptionValidateError The following options failed to validate: RHOSTS" error.
We suppose the module have some issue when it encounters a not solved dnsname as unique entry or inside a file list, so this stops the start of the module without parsing anything.
Obviously we would like to expects to skip the bad entry or entries and then go on when it happen..
Steps to reproduce
msf auxiliary(smb_ms17_010) > set rhosts fakeMachineName, rightMachineName
msf auxiliary(smb_ms17_010) > run
[-] Auxiliary failed: Msf::OptionValidateError The following options failed to validate: RHOSTS.
Metasploit version
Framework: 4.14.16-dev
Console : 4.14.16-dev
same on:
Framework: 4.14.17-dev
Console : 4.14.17-dev
I installed Metasploit with:
OS
4.9.0-kali4-amd64 #1 SMP Debian 4.9.25-1kali1 (2017-05-04) x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: