File tree 2 files changed +26
-0
lines changed
2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Dockerfile for m8sec/subscraper
2
+
3
+ FROM python:3
4
+
5
+ LABEL org.label-schema.name="subscraper" \
6
+ org.label-schema.description="Subdomain Enumeration Tool" \
7
+ org.label-schema.vcs-url="https://github.com/m8sec/subscraper"
8
+
9
+ COPY . /app
10
+ WORKDIR /app
11
+ RUN pip install -r requirements.txt
12
+ ENTRYPOINT ["python" ,"/app/subscraper.py" ]
13
+ CMD ["--help" ]
Original file line number Diff line number Diff line change @@ -45,6 +45,19 @@ cd subscraper
45
45
python3 setup.py install
46
46
```
47
47
48
+ ## Docker
49
+ You can build a docker image and run subscraper from Docker:
50
+ ```
51
+ git clone https://github.com/m8sec/subscraper.git
52
+ cd subscraper
53
+ docker build -t m8sec/subscraper .
54
+ # display help
55
+ docker run --rm m8sec/subscraper
56
+ # example scanning a site
57
+ docker run --rm m8sec/subscraper example.com
58
+ ```
59
+
60
+
48
61
## Usage
49
62
#### Command Line Args
50
63
```
You can’t perform that action at this time.
0 commit comments