- Notifications
You must be signed in to change notification settings - Fork0
OpenSecHub/zaproxy-deploy
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
# ubuntuapt install -y openjdk-11-jre-headless firefox# centosyum install -y java-11-openjdk-headless firefox
unpacking to dir/opt
tar xf ZAP_2.11.1_Linux.tar.gz -C /opt/
Update add-ons from the ZAP Marketplace
cd /opt/ZAP_2.11.1./zap.sh -addonupdate -daemonThe default directory that ZAP uses is~/.ZAP/.
log file~/.ZAP/zap.log
| options | description | remark |
|---|---|---|
-daemon | daemon mode, without UI | defalut with UI |
-config | specified key=value pair | -config api.disablekey=true |
-configfile | specified properties file | example |
-host | host used for proxying | default addr127.0.0.1 |
-port | port used for proxying | default port8080 |
mkdir -p /etc/zapcat> /etc/zap/zap.conf<<EOFapi.key=bba1c841d09bcef7c1fba17bbdff80a5api.addrs.addr.name=.*api.addrs.addr.regex=trueconnection.timeoutInSecs=600EOF
cat> /etc/systemd/system/zap.service<<EOF[Unit]Description=The OWASP Zed Attack Proxy ScannerAfter=network.target networking.serviceConditionKernelCommandLine=!recovery[Service]Type=simpleExecStart=/opt/ZAP_2.11.1/zap.sh -daemon -host 0.0.0.0 -port 80 -configfile /etc/zap/zap.confRestart=alwaysTimeoutStopSec=10[Install]WantedBy=multi-user.targetEOFsystemctl daemon-reloadsystemctl start zapsystemctlenable zap
About
deploy zaporxy in Linux
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.