Tuesday, May 29, 2018

Some basic commands for Metasploit Msfconsole

Search for module:
msf > search [regex]



Show all Exploits:
msf > show exploits

Specify and exploit to use:
msf > use [ExploitPath]



Show all Payloads:
msf > show payloads

Specify a Payload to use:
msf > set payload [PayloadPath]



Show all Targets:
msf > show targets

Specify a Target to use:
msf > set target [TargetNumber]



Show all Encoders:
msf > show encoders

Specify a Encoder to use:
msf > set encoder [EncoderPath]



Show options for the current modules:
msf > show options

Set options:
msf > set [Option] [Value]



Start exploit:
msf > exploit
msf > run

No comments:

Post a Comment