about summary refs log tree commit diff
path: root/Dockerfile
blob: 97cab4768e49eb5524c7b5d6493d6cfed94f68f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM ubuntu:18.04

# Install
RUN apt update
RUN apt install -y git gcc make libpcap-dev 
RUN git clone https://github.com/robertdavidgraham/masscan /home/masscan
WORKDIR /home/masscan

# Build
RUN make -j

# Mount the output dir
RUN mkdir /output

ENTRYPOINT /home/masscan/bin/masscan -p80 116.203.39.00/24 | tee /output/out.txt