
Figure 12.7 Setting Exploit Options
The set command only modifies the value of the environment variable for the cur-
rently selected exploit. If the user wanted to attempt multiple exploits against the same
machine, the setg command would be a better option.The setg command global sets the
value of the global environment variable so it is available to multiple exploits. If a local
and a global environment variable with the same name is set, the local variable will take
precedence.
Depending on the exploit, advanced options may also be available.These variables
are also set with the set command, but as evidenced in Figure 12.8, the user does not
need to ...