about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-05-26 15:44:27 +0200
committerEmile <hanemile@protonmail.com>2019-05-26 15:44:27 +0200
commitf47823ac90769069578ab1f9d4a1f461a36a21e4 (patch)
tree9b46d5699883e1794f9a2fcf15fc2ceab6535168
parentba59520fb166740b0fb7cc661bc682ea47e6bdbf (diff)
:whale:
-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
+