Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Docker Created #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM alpine:3.9
MAINTAINER [email protected]

RUN apk add --no-cache python3 && \
python3 -m ensurepip && \
rm -r /usr/lib/python*/ensurepip && \
pip3 install --upgrade pip setuptools && \
if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi && \
if [[ ! -e /usr/bin/python ]]; then ln -sf /usr/bin/python3 /usr/bin/python; fi && \
rm -r /root/.cache

RUN apk add git
RUN git clone https://github.com/hlldz/SpookFlare.git /tmp/spookflare

WORKDIR /tmp/spookflare
RUN pip3 install -r requirements.txt

EXPOSE 443 8080 80 555

ENTRYPOINT ["python3", "spookflare.py"]
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,22 @@ SpookFlare > list
# pip install -r requirements.txt
```

## Docker Build
```
docker run -t spookflare .
```

## Docker Run
```
docker run --rm -it -v $(pwd):/tmp/spookflare/output -p 80:80 spookflare
docker run --rm -it -v $(pwd):/tmp/spookflare/output -p 8080:8080 spookflare
docker run --rm -it -v $(pwd):/tmp/spookflare/output -p 443:443 spookflare
docker run --rm -it -v $(pwd):/tmp/spookflare/output -p 555:555 spookflare
```

Docker Run Example: `docker run --rm -it -v $(pwd):/tmp/spookflare/output -p 80:80 xshuden/spookflare`


## Technical Details
https://artofpwn.com/spookflare.html

Expand Down