| Class | Msf::Auxiliary |
| In: |
lib/msf/core/auxiliary.rb
|
| Parent: | Msf::Module |
The auxiliary class acts as a base class for all modules that perform reconnaisance, retrieve data, brute force logins, or any other action that doesn‘t fit our concept of an ‘exploit’ (involving payloads and targets and whatnot).
| actions | [R] | Allow access to the hash table of actions and the string containing the default action |
| actions | [W] | |
| default_action | [W] | |
| default_action | [R] | Allow access to the hash table of actions and the string containing the default action |
| passive | [R] | Allow access to the hash table of actions and the string containing the default action |
| passive | [W] | |
| passive_actions | [R] | Allow access to the hash table of actions and the string containing the default action |
| passive_actions | [W] | |
| queue | [RW] | |
| sockets | [RW] |
This method is called once a new session has been created on behalf of this module instance and all socket connections created by this module should be closed.
Performs last-minute sanity checking of auxiliary parameters. This method is called during automated exploitation attempts and allows an auxiliary module to filter bad attempts, obtain more information, and choose better parameters based on the available data. Returning anything that evaluates to "false" will cause this specific auxiliary attempt to be skipped. This method can and will change datastore values and may interact with the backend database. The default value for auxiliary modules is false, since not all auxiliary modules actually attempt to exploit a vulnerability.