-
Notifications
You must be signed in to change notification settings - Fork 14.4k
How to use datastore options
sinn3r edited this page Aug 29, 2014
·
54 revisions
A datastore option is a type of variable that can be set by the user, allowing various components of Metasploit to be more configurable during use. For example, in msfconsole, you can set the ConsoleLogging option in order to log all the console input/output - something that's kind of handy for documentation purposes during a pentest. When you load a module, there will be a lot more options registered by the mixin(s) or the module. Some common ones include: RHOST and RPORT for a server-side exploit or auxiliary module, SRVHOST for a client-side module, etc.
The best way to find out exactly what datastore options you can set is by using these commands:
-
show options
- Shows you all the basic options. -
show advanced
- Shows you all the advanced options. -
set
- Shows you everything. Obviously you also use this command to set an option.
- Home Welcome to Metasploit!
- Using Metasploit A collection of useful links for penetration testers.
-
Setting Up a Metasploit Development Environment From
apt-get install
togit push
. - CONTRIBUTING.md What should your contributions look like?
- Landing Pull Requests Working with other people's contributions.
- Using Git All about Git and GitHub.
- Contributing to Metasploit Be a part of our open source community.
- Meterpreter All about the Meterpreter payload.