about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..97cab47
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,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
+