4. Payload Modules
Description:
Payload modules specify the actions to execute after exploiting a system, such as spawning a command shell, creating a Meterpreter session, or uploading a backdoor.
Examples:
- Set a Payload:
- set PAYLOAD windows/meterpreter/reverse_tcp
- Set a Payload:
Explanation: Sets a Meterpreter reverse TCP payload to be used after exploiting the target.