November 2, 2019 · Basic Pen-Testing

5.3 : Auto scanning tools - Metasploit (Part VII)

Background

Installation

instead of using traditional setup, we use docker

# pull from offical git
git clone https://github.com/rapid7/metasploit-framework.git .


docker-compose -d up
./docker/bin/msfconsole #enter console
./docker/bin/msfupdate  #update exploit database

Basic usage

search for exploit

search $KEYWORDS

load exploit

use $EXPLOIT_NAME

config exploit

show options
...

set $OPTION_KEY $OPTION_VALUE

execute exploit

exploit

revert to console

back

Basic tutorial