Skip to content

Commit ba39e50

Browse files
authored
Merge pull request #80 from sdcampbell/master
Added Docker files.
2 parents 3b3ff94 + 69c7e7c commit ba39e50

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ There are some various other libraries required that a normal Python installatio
3939
```
4040
python setup.py install
4141
```
42-
42+
Alternatively you can build a Docker image by changing to the docker directory and entering:
43+
```
44+
docker build -t nosqlmap .
45+
```
4346
## Usage Instructions
4447
Start with
4548
```

docker/Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM ubuntu:latest
2+
3+
RUN apt-get update && apt-get install -y python python-pip git mongodb
4+
5+
RUN git clone https://github.com/codingo/NoSQLMap.git /root/NoSqlMap
6+
7+
WORKDIR /root/NoSqlMap
8+
9+
RUN python setup.py install
10+
11+
COPY entrypoint.sh /tmp/entrypoint.sh
12+
13+
RUN chmod +x /tmp/entrypoint.sh
14+
15+
ENTRYPOINT ["/tmp/entrypoint.sh"]

docker/entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
exec python nosqlmap.py

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy