how to install kali-linux and instrument with docker

A Plan

  1. docker run --name kali -i -t kalilinux/kali-linux-docker /bin/bash
  2. apt-get update
  3. apt-get install kali-linux-all

B Plan

  1. docker pull kalilinux/kali-linux-docker
  2. docker run -t -i kalilinux/kali-linux-docker /bin/bash
  3. apt-get update && apt-get upgrade

install metasploit

  • apt-get install metasploit-framework

enter metasploit:

  • msfconsole

if there has no db:

  • apt install postgresql postgresql-contrib
  • service postgresql start

to create db:

  • msfdb init

reference

相关推荐