Skip to content

Instantly share code, notes, and snippets.

@phith0n
Created November 5, 2016 20:38
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save phith0n/8972640af5df33de3bbbf40adb2a4d77 to your computer and use it in GitHub Desktop.
Save phith0n/8972640af5df33de3bbbf40adb2a4d77 to your computer and use it in GitHub Desktop.
Docker提高生产力之SQLMAP API
FROM python:2.7
ENV VERSION 1.0.11
RUN apt-get update && apt-get install -y \
git --no-install-recommends
RUN mkdir /app
WORKDIR /app
RUN git clone https://github.com/sqlmapproject/sqlmap.git . \
&& git checkout tags/${VERSION}
CMD ["./sqlmapapi.py", "-s", "-H", "0.0.0.0", "-p", "7775"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment