-
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
Add mixin to implement an exploit's check method by invoking a scanner #11873
Conversation
Nice! I had wanted to do something like this originally but didn't know enough about the framework at the time. |
I'm thinking if someone writes an RDP exploit, we can just repurpose the scanner in a similar manner. 😅 |
@zerosum0x0: This is a mixin now, and I plan to flesh it out even further for generic usage. When the RDP exploit comes in, your scanner can be called directly. |
LGTM, thanks. |
Release NotesThis adds a new mixin that allows modules to call methods in other modules easily, namely allowing check methods to be shared between scanner and exploit modules. |
This PR adds aThis is now a mixin. This was a big to-do for us in the past.check
method to thems17_010_eternalblue
exploit by calling thesmb_ms17_010
scanner and checking its newly added return value.We may want to make this kind of code more generic between exploits and auxiliary modules.
cc @zerosum0x0
#8271, #8381, #11869