Metasploit Cheat Sheet

Essential commands for penetration testing and exploit development

Basic Navigation

  • msfconsole

    Launch Metasploit Framework

  • show exploits

    List available exploits

  • search [keyword]

    Search for specific exploits

Exploit Selection

  • use [exploit]

    Select a specific exploit

  • show options

    View exploit configuration

  • set RHOSTS [target]

    Set target host

Payload Management

  • show payloads

    List available payloads

  • set payload [payload]

    Choose payload for exploit

  • exploit

    Execute selected exploit