-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·43 lines (32 loc) · 1.21 KB
/
Copy pathinstall.sh
File metadata and controls
executable file
·43 lines (32 loc) · 1.21 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env bash
# make sure the package index is up-to-date
sudo apt update
# chromimum
sudo apt install -y chromium-browser
# NPM dependencies
(cd crawler && npm install)
# linux: sudo npm install puppeteer --unsafe-perm=true --allow-root
# linux cd crawler/./node_modules/puppeteer && npm run install
(cd analyses/domclobbering && npm install)
(cd analyses/cs_csrf && npm install)
(cd analyses/request_hijacking && npm install)
(cd analyses/open_redirect && npm install)
(cd engine && npm install)
(cd engine/lib/jaw/dom-points-to && npm install)
(cd engine/lib/jaw/normalization && npm install)
(cd dynamic && npm install)
(cd engine/lib/jaw/aliasing && make)
(cd verifier && npm install)
(cd verifier/service && npm install)
# python package dependencies
sudo apt-get install libgeos-dev
# Python dependencies
pip3 install -r ./requirements.txt
# pigz
sudo apt-get install pigz
## ineo for neo4j management: https://github.com/cohesivestack/ineo
# curl -sSL https://raw.githubusercontent.com/cohesivestack/ineo/v2.1.0/ineo | bash -s install -d $(pwd)/ineo/
# source ~/.bashrc
export INEO_HOME=$(pwd)/ineo/; export PATH=$INEO_HOME/bin:$PATH
# note: java 11 required with neo4j 4.2.3
sudo apt-get install openjdk-11-jdk