Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker and Dockerfile Added #267

Open
wants to merge 2 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
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM xshuden/alppython3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
FROM xshuden/alppython3
FROM python:3

need to check whether git is installed

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In alppython3 you can check it on the git loaded hub.

LABEL MAINTAINER [email protected]

RUN git clone --depth=1 'https://github.com/s0md3v/XSStrike.git' /tmp/xsstrike

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

ENTRYPOINT ["python3", "xsstrike.py"]
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,21 @@ Apart from that, XSStrike has crawling, fuzzing, parameter discovery, WAF detect
- [Can I copy it's code?](https://github.com/s0md3v/XSStrike/wiki/FAQ#can-i-copy-its-code)
- [What if I want to embed it into a proprietary software?](https://github.com/s0md3v/XSStrike/wiki/FAQ#what-if-i-want-to-embed-it-into-a-proprietary-software)

### Docker Build

```
$ docker build -t <IMAGE NAME> .
OR
$ docker build -t xshuden/xsstrike .
xShuden marked this conversation as resolved.
Show resolved Hide resolved
```

### Docker Usage

```
$ docker run --rm -it xshuden/xsstrike
$ docker run --rm -it xshuden/xsstrike -u https://xss-game.appspot.com/level1/frame?query=
```

### Gallery
#### DOM XSS
![dom xss](https://image.ibb.co/bQaQ5L/Screenshot-2018-11-19-13-48-19.png)
Expand Down