This commit is contained in:
ktx 2017-11-27 21:26:50 +00:00 committed by GitHub
commit 26a3709790
2 changed files with 37 additions and 0 deletions

18
Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM python:2-alpine
RUN apk add --update git
RUN pip install bs4
WORKDIR /root
RUN git clone https://github.com/sqlmapproject/sqlmap.git sqlmap
RUN chmod +x /root/sqlmap/sqlmap.py
RUN ln -s /root/sqlmap/sqlmap.py /usr/bin/sqlmap
ENTRYPOINT ["sqlmap"]
CMD ["-h"]

19
Dockerfile_README.md Normal file
View File

@ -0,0 +1,19 @@
# SQLMap
## Source
https://github.com/sqlmapproject/sqlmap
## Usage:
```bash
cd sqlmap/
docker build -t sqlmap .
docker run -it sqlmap:latest
```
## Help
```bash
docker run -it sqlmap --wizard
```
### Demo:
[![asciicast](https://asciinema.org/a/141840.png)](https://asciinema.org/a/141840)