forked from Jemurai/triage
-
Notifications
You must be signed in to change notification settings - Fork 126
/
Copy path.travis.yml
27 lines (24 loc) · 1.15 KB
/
.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
26
27
language: ruby
rvm:
- 2.0.0
before_install:
- git submodule update --init --recursive
- sudo apt-get install nmap
- sudo apt-get install wget
- sudo apt-get install libcurl4-openssl-dev
- 'cd vendor/Garmr && sudo python setup.py install && cd ../..'
- 'cd vendor && wget https://github.com/nabla-c0d3/sslyze/releases/download/release-0.10/sslyze-0_10-linux64.zip && unzip sslyze-0_10-linux64.zip && cd ..'
- 'cd vendor && wget http://downloads.sourceforge.net/project/dirb/dirb/2.03/dirb203.tar.gz && tar xvfz dirb203.tar.gz && cd dirb && ./configure && make && sudo cp dirb /usr/local/bin/ && cd ../../'
- export SSLYZE_PATH="$TRAVIS_BUILD_DIR/vendor/sslyze/sslyze.py"
- export SQLMAP_PATH="$TRAVIS_BUILD_DIR/vendor/sqlmap/sqlmap.py"
- export DIRB_WORDLISTS="$TRAVIS_BUILD_DIR/vendor/dirb/wordlists"
before_script:
- ./set_token.sh
- bundle exec rake db:migrate
- bundle exec rails s -d
script:
- bundle exec rake secure_pipeline:network_attack
- bundle exec rake secure_pipeline:ssl_attack
- bundle exec rake secure_pipeline:xss
- bundle exec rake secure_pipeline:information_leakage
- bundle exec rake secure_pipeline:sql_injection