zaproxy.profile 959 Bytes
Newer Older
1
# Firejail profile for zaproxy
2
# Description: Integrated penetration testing tool for finding vulnerabilities in web applications
3 4
# This file is overwritten after every install/update
# Persistent local customizations
5
include zaproxy.local
6
# Persistent global definitions
7
include globals.local
8 9 10 11

noblacklist ${HOME}/.java
noblacklist ${HOME}/.ZAP

12 13 14 15 16 17
# Allow access to java
noblacklist ${PATH}/java
noblacklist /usr/lib/java
noblacklist /etc/java
noblacklist /usr/share/java

18 19 20 21 22
include disable-common.inc
include disable-devel.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc
23 24 25 26

mkdir ${HOME}/.ZAP
whitelist ${HOME}/.java
whitelist ${HOME}/.ZAP
27 28
include whitelist-common.inc
include whitelist-var-common.inc
29 30 31 32 33 34 35 36 37 38 39

caps.drop all
ipc-namespace
netfilter
no3d
nodvd
nogroups
nonewprivs
noroot
nosound
notv
40
nou2f
41 42 43 44 45 46 47 48 49 50 51
novideo
protocol unix,inet,inet6
seccomp
shell none

disable-mnt
private-dev
private-tmp

noexec ${HOME}
noexec /tmp