Compare commits
2 Commits
71b2cd8ab9
...
c4c903000e
Author | SHA1 | Date | |
---|---|---|---|
c4c903000e | |||
ceb8f0f543 |
14
Dockerfile
14
Dockerfile
@ -1,6 +1,7 @@
|
||||
FROM debian:latest
|
||||
|
||||
RUN apt-get update && apt-get install -y curl wget gnupg2 git python3 python3-pip
|
||||
RUN apt-get update && apt-get install -y curl wget gnupg2 git python3 python3-pip python3-venv \
|
||||
ncat nmap hydra iputils-ping iproute2
|
||||
|
||||
|
||||
# Install metasploit
|
||||
@ -17,5 +18,16 @@ RUN git clone https://www.github.com/threat9/routersploit /routersploit
|
||||
WORKDIR /routersploit
|
||||
RUN python3 -m pip install -r requirements.txt
|
||||
|
||||
# Install cme
|
||||
RUN python3 -m pip install pipx
|
||||
RUN pipx install crackmapexec
|
||||
RUN pipx ensurepath
|
||||
|
||||
# DL rockyou wordlist
|
||||
RUN mkdir -p /wordlists
|
||||
WORKDIR /wordlists
|
||||
RUN curl -LOJ https://github.com/zacheller/rockyou/raw/master/rockyou.txt.tar.gz
|
||||
RUN tar -xvf rockyou.txt.tar.gz
|
||||
|
||||
WORKDIR /
|
||||
RUN useradd -m -s /bin/bash nroot
|
||||
|
10
docker-compose.yaml
Normal file
10
docker-compose.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
metasploit:
|
||||
container_name: metasploit
|
||||
image: docker.scalz.cloud/metasploit
|
||||
|
||||
network_mode: "host"
|
||||
tty: true
|
||||
stdin_open: true
|
Loading…
Reference in New Issue
Block a user