---
description: Practicing working through Metasploit modules.
---

# Working with Modules

Using the "set" command we can answer the first 2 questions. We can set the the LPORT value to 6666 by using the command, "set LPORT 6666". We can set the RHOSTS global value to 10.10.19.23 by using the command, "set RHOSTS 10.10.19.23".

To clear a set payload, we use the command, "unset payload".&#x20;

To proceed with exploitation, we use the "exploit" command.&#x20;
