| Module | Msf::Exploit::Brute |
| In: |
lib/msf/core/exploit/brute.rb
|
This modules provides a target-aware brute-forcing wrapper. It implements the exploit method and calls exploit_brute with target supplied information. If the selected target is not a bruteforce target, then single_exploit is called.
This routine is called once per brute force iteration. The addresses parameter is a hash of addresses that are incremented each iteration and are derived from the target‘s bruteforce information or the module‘s datastore in case they are being overriden.
Imports information into the supplied hash from the datastore. This is a way of allowing the user to override values for a specific brute force target by name without them actually being conveyed in the options list. This is a bit of a change from 2.x, but 2.x didn‘t have per-target brute force addresses, which I think is more valuable.