| Class | Msf::ExploitDriver |
| In: |
lib/msf/core/exploit_driver.rb
|
| Parent: | Object |
This class drives the exploitation process from start to finish for a given exploit module instance. It‘s responsible for payload generation, encoding, and padding as well as initialization handlers and finally launching the exploit.
| job_id | [RW] | The identifier of the job this exploit is launched as, if it‘s run as a job. |
Checks to see if the supplied payload is compatible with the current exploit. Assumes that target_idx is valid.
Kicks off an exploitation attempt and performs the following four major operations:
- Generates the payload - Initializes & monitors the handler - Launches the exploit - Cleans up the handler
Makes sure everything‘s in tip-top condition prior to launching the exploit. For things that aren‘t good to go, an exception is thrown.