some of the common and most important variables
some of the common commands used for assigning variable values
command | function |
---|---|
get | retrieve the value contained in a particular local variable |
getg | similar to get, but it get the global value |
set | sytnx:set <variable><value> |
setg | sytnx:setg<variable><value> |
unset | clears the value previously stored in a local variable through the set command sytnx:unset <variable> |
unsetg | clears the value previously stored in a global variable through the setg command sytnx:unsetg <variable> |
common commands for modules
command | function |
---|---|
use | to select the required metasploit module |
show options | list what all variablesthat are required in order to execute the selected module |
set | set the values for required variables. |
run | execute the module with the variables configured earlier |