Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VAT-genscan
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MEDINA
Public
VAT-genscan
Commits
009b2401
Commit
009b2401
authored
2 years ago
by
Zitnik, Anze
Browse files
Options
Downloads
Patches
Plain Diff
Fix ZAP requirements
parent
0a6be898
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
install/requirements.txt
+1
-1
1 addition, 1 deletion
install/requirements.txt
install/zap-plugin.patch
+1
-1
1 addition, 1 deletion
install/zap-plugin.patch
install/zap.sh
+3
-1
3 additions, 1 deletion
install/zap.sh
with
5 additions
and
3 deletions
install/requirements.txt
+
1
−
1
View file @
009b2401
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
install/zap-plugin.patch
+
1
−
1
View file @
009b2401
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
install/zap.sh
+
3
−
1
View file @
009b2401
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment