Skip to content

Instantly share code, notes, and snippets.

@phith0n
Created November 5, 2016 20:38
Show Gist options
  • Select an option

  • Save phith0n/8972640af5df33de3bbbf40adb2a4d77 to your computer and use it in GitHub Desktop.

Select an option

Save phith0n/8972640af5df33de3bbbf40adb2a4d77 to your computer and use it in GitHub Desktop.

Revisions

  1. phith0n created this gist Nov 5, 2016.
    15 changes: 15 additions & 0 deletions sqlmap_api.dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    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"]