forked from s0md3v/XSStrike
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (25 loc) · 933 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: python
cache: pip
env:
- MOZ_HEADLESS=1
addons:
firefox: latest
os:
- linux
python:
- 3.6
before_install:
- wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz
- mkdir geckodriver
- tar -xzf geckodriver-v0.24.0-linux64.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
install:
- pip install -r requirements.txt
- pip install flake8
before_script:
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
script:
- python xsspider.py -u "https://public-firing-range.appspot.com/reflected/index.html" --crawl
- echo "No" > input.txt && python xsspider.py -u https://public-firing-range.appspot.com/reflected/parameter/body?q=query < input.txt