Files
XSStrike/.travis.yml

26 lines
933 B
YAML
Raw Permalink Normal View History

2018-10-27 19:24:02 +05:30
language: python
2018-11-21 19:34:07 +05:30
cache: pip
2019-04-30 18:17:13 -07:00
env:
- MOZ_HEADLESS=1
addons:
firefox: latest
2018-10-27 19:24:02 +05:30
os:
- linux
python:
- 3.6
2019-04-30 17:44:41 -07:00
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
2018-10-27 19:24:02 +05:30
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 xsstrike.py -u "https://public-firing-range.appspot.com/reflected/index.html" --crawl
- echo "No" > input.txt && python xsstrike.py -u https://public-firing-range.appspot.com/reflected/parameter/body?q=query < input.txt