1
0
Fork 0

Create Dockerfile

master
Ambrose Chua 2018-12-02 01:31:46 +08:00 committed by GitHub
parent 8abb949264
commit d671a1a108
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 68 additions and 0 deletions

68
Dockerfile Normal file
View File

@ -0,0 +1,68 @@
FROM registry.makerforce.io/ambrose/env:latest
USER root
# required for pwntools
RUN pip3 install --upgrade pip
RUN apk add --no-cache \
libcrypto1.1@edge libssl1.1@edge radare2@community \
volatility \
john \
libffi-dev libressl-dev linux-headers python3-dev \
httpie \
jq \
socat \
netcat-openbsd \
binwalk@testing \
exiftool \
graphicsmagick \
testdisk \
squashfs-tools \
lzo-dev \
libpcap
# required for pwntools
RUN apk add --no-cache \
python2 \
&& pip3 install \
unicorn pandoc
RUN pip3 install \
pwntools \
requests \
python-lzo \
crcmod
RUN git clone https://github.com/bwall/HashPump.git \
&& cd HashPump \
&& make \
&& make install \
&& cd .. \
&& rm -rf HashPump
RUN git clone https://github.com/robertdavidgraham/masscan \
&& cd masscan \
&& make \
&& make install \
&& cd .. \
&& rm -rf masscan
RUN wget -O /usr/local/bin/jwt_tool.py \
https://raw.githubusercontent.com/ticarpi/jwt_tool/master/jwt_tool.py \
&& chmod +x /usr/local/bin/jwt_tool.py
RUN wget -O /usr/local/bin/ubidump.py \
https://raw.githubusercontent.com/nlitsme/ubidump/master/ubidump.py \
&& chmod +x /usr/local/bin/ubidump.py \
&& sed -i '1s/^/#!\/usr\/bin\/env python3\n/' /usr/local/bin/ubidump.py
RUN wget -O /tmp/sqlmap.tar.gz \
https://github.com/sqlmapproject/sqlmap/tarball/master \
&& mkdir -p /usr/local/lib/sqlmap \
&& cd /usr/local/lib/sqlmap \
&& tar -xvf /tmp/sqlmap.tar.gz --strip=1 \
&& rm /tmp/sqlmap.tar.gz \
&& ln -s /usr/local/lib/sqlmap/sqlmap.py /usr/local/bin/sqlmap
USER ambrose