Skip to content

Commit

Permalink
Adding sqlmap and managing container cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wickett committed Feb 2, 2018
1 parent a08e5e3 commit e73318c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN \
bzip2 \
ca-certificates \
curl \
gcc \
git \
libcurl3 \
libcurl4-openssl-dev \
Expand All @@ -18,6 +19,10 @@ RUN \
libfontconfig \
libxml2-dev \
libxslt1-dev \
make \
python-pip \
python2.7 \
python2.7-dev \
ruby \
ruby-dev \
ruby-bundler && \
Expand Down Expand Up @@ -47,4 +52,9 @@ RUN git clone --depth=1 https://github.com/sullo/nikto.git && \
chmod +x nikto.pl && \
ln -s /opt/nikto/program/nikto.pl /usr/local/bin/nikto

# sqlmap
WORKDIR /opt
ENV SQLMAP_PATH /opt/sqlmap/sqlmap.py
RUN git clone --depth=1 https://github.com/sqlmapproject/sqlmap.git

ENTRYPOINT [ "/usr/local/bin/gauntlt" ]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ clean-all: clean
@docker rmi gauntlt

interactive:
@docker run -it --entrypoint /bin/bash gauntlt
@docker run --rm -it --entrypoint /bin/bash gauntlt

install-stub:
@echo "installing gauntlt-docker to /usr/local/bin"
Expand Down

0 comments on commit e73318c

Please sign in to comment.