mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
50 lines
1.1 KiB
Text
50 lines
1.1 KiB
Text
# Firejail profile for zaproxy
|
|
# Description: Integrated penetration testing tool for finding vulnerabilities in web applications
|
|
# This file is overwritten after every install/update
|
|
# Persistent local customizations
|
|
include /etc/firejail/zaproxy.local
|
|
# Persistent global definitions
|
|
include /etc/firejail/globals.local
|
|
|
|
noblacklist ${HOME}/.java
|
|
noblacklist ${HOME}/.ZAP
|
|
|
|
# Allow access to java
|
|
noblacklist ${PATH}/java
|
|
noblacklist /usr/lib/java
|
|
noblacklist /etc/java
|
|
noblacklist /usr/share/java
|
|
|
|
include /etc/firejail/disable-common.inc
|
|
include /etc/firejail/disable-devel.inc
|
|
include /etc/firejail/disable-interpreters.inc
|
|
include /etc/firejail/disable-passwdmgr.inc
|
|
include /etc/firejail/disable-programs.inc
|
|
|
|
mkdir ${HOME}/.ZAP
|
|
whitelist ${HOME}/.java
|
|
whitelist ${HOME}/.ZAP
|
|
include /etc/firejail/whitelist-common.inc
|
|
include /etc/firejail/whitelist-var-common.inc
|
|
|
|
caps.drop all
|
|
ipc-namespace
|
|
netfilter
|
|
no3d
|
|
nodvd
|
|
nogroups
|
|
nonewprivs
|
|
noroot
|
|
nosound
|
|
notv
|
|
novideo
|
|
protocol unix,inet,inet6
|
|
seccomp
|
|
shell none
|
|
|
|
disable-mnt
|
|
private-dev
|
|
private-tmp
|
|
|
|
noexec ${HOME}
|
|
noexec /tmp
|