-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Make it possible to provide a non-default RPORT #19076
Conversation
So now that #19095 has been landed, the The pattern now included in metasploit-framework/modules/auxiliary/scanner/smb/smb_enumusers.rb Lines 44 to 58 in aef3cc5
|
Are you still interested in making these changes? |
@smcintyre-r7 I am not quite following what is needed as a change, is it this:
I changes I proposed earlier you said are not what you hoped |
Sorry for the confusion but I opened a PR with what I had in mind in #19163. Using that, we can retain the original functionality of trying 139 and 445 automatically, or allow the user to specify a port of their choosing in which case it'll be the only one tested. It also reuses the existing RPORT and SMBDirect datastore options instead of adding new ones such as SMB_RPORT / RPC_RPORT. |
Great |
Related to: #19072
Make it possible to add a non-default (139, 445) port to the SMB test, by using
Set
rather thanlist/array
and adding the datastore RPORT to the mix