Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

deploy zaporxy in Linux

License

NotificationsYou must be signed in to change notification settings

OpenSecHub/zaproxy-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

OWASP ZAP FAQ

Install

Install deps

# ubuntuapt install -y openjdk-11-jre-headless firefox# centosyum install -y java-11-openjdk-headless firefox

Download zaproxy

OWASP ZAP Download

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 -daemon

Service

The default directory that ZAP uses is~/.ZAP/.

log file~/.ZAP/zap.log

core options

optionsdescriptionremark
-daemondaemon mode, without UIdefalut with UI
-configspecified key=value pair-config api.disablekey=true
-configfilespecified properties fileexample
-hosthost used for proxyingdefault addr127.0.0.1
-portport used for proxyingdefault port8080

config file

apikey

remote access

mkdir -p /etc/zapcat> /etc/zap/zap.conf<<EOFapi.key=bba1c841d09bcef7c1fba17bbdff80a5api.addrs.addr.name=.*api.addrs.addr.regex=trueconnection.timeoutInSecs=600EOF

service

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

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp