Skip to content
Snippets Groups Projects
Commit 009b2401 authored by Zitnik, Anze's avatar Zitnik, Anze
Browse files

Fix ZAP requirements

parent 0a6be898
Branches
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ pyperclip==1.7.0 ...@@ -70,7 +70,7 @@ pyperclip==1.7.0
pyrsistent==0.14.11 pyrsistent==0.14.11
python-dateutil==2.8.0 python-dateutil==2.8.0
python-ntlm==1.0.1 python-ntlm==1.0.1
python-owasp-zap-v2==0.0.9 python-owasp-zap-v2.4==0.0.21
pytz==2018.9 pytz==2018.9
pyxdg==0.25 pyxdg==0.25
PyYAML==3.12 PyYAML==3.12
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
91c92 91c92
< proc = subprocess.Popen([cmd, '-daemon']) < proc = subprocess.Popen([cmd, '-daemon'])
--- ---
> proc = subprocess.Popen([cmd, '-daemon', '-config', 'api.disablekey=true']) > proc = subprocess.Popen([cmd, '-daemon', '-addoninstallall', '-addonupdate', '-config', 'api.disablekey=true'])
94,95c95,103 94,95c95,103
< print('Waiting for ZAP to load, 10 seconds ...') < print('Waiting for ZAP to load, 10 seconds ...')
< time.sleep(10) < time.sleep(10)
......
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
set -e set -e
apt install -y openjdk-11-jre apt install -y openjdk-11-jre firefox
cd /tmp cd /tmp
wget -nv https://github.com/zaproxy/zaproxy/releases/download/v2.12.0/ZAP_2.12.0_Linux.tar.gz wget -nv https://github.com/zaproxy/zaproxy/releases/download/v2.12.0/ZAP_2.12.0_Linux.tar.gz
tar xzf ZAP_2.12.0_Linux.tar.gz tar xzf ZAP_2.12.0_Linux.tar.gz
mv ZAP_2.12.0 /service/ZAP mv ZAP_2.12.0 /service/ZAP
cd /service/ZAP
./zap.sh -addoninstallall -addonupdate -cmd # install ZAP plugins and exit
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment