Sign inSign up

techantidote/metasploit

By techantidote

Updated over 7 years ago

MetaSploit - Dockerized Pentesting

Image
0

128

techantidote/metasploit repository overview

MetaSploit - Dockerized Pentesting

-This is a docker image that contains metasploit framework.

How to run the container

docker run -it --net="host" --privileged --name metasploit techantidote/metasploit bash

Building using DockerFile

If you would like to build the dockerfile yourself, you could do that as well.

Note: If you plan to build kali images your docker host, should have experimental set to "true". You can edit file /etc/docker/daemon.json

{
    "experimental": true
}

Note: I have changed the apt sources to another official mirror documented under http://http.kali.org/README.mirrorlist as the default mirror was too slow.

-You can choose to keep the default mirror or change it accordingly. If you are changing mirrors, please only change to the official ones documented under http://http.kali.org/README.mirrorlist

The docker file was build using the docker file mentioned below. You can modify it as per your wish.

cat Dockerfile

FROM kalilinux/kali-linux-docker
RUN sed -i 's/http.kali.org\/kali/mirror.karneval.cz\/pub\/linux\/kali/g' /etc/apt/sources.list
RUN apt clean all && apt update && apt upgrade -y && apt install metasploit-framework -y && apt autoremove -y && apt clean all

Sources

Base Docker Image: https://hub.docker.com/r/kalilinux/kali-linux-docker/

Tag summary

Content type

Image

Digest

Size

962 MB

Last updated

over 7 years ago

docker pull techantidote/metasploit