zaproxy: After installing ZAP 2.15.0 on Debian 12, it is not possible to start by running “zap” or “zapproxy” or “owasp-zap”.
Describe the bug
The following is the method to install ZAP 2.14.0 on Debian12:
echo 'deb http://download.opensuse.org/repositories/home:/cabelo/Debian_12/ /' | sudo tee /etc/apt/sources.list.d/home:cabelo.list
curl -fsSL https://download.opensuse.org/repositories/home:cabelo/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_cabelo.gpg > /dev/null
apt update
apt install owasp-zap
After installation, run owasp-zap You can start ZAP.
But ZAP 2.15.0 becomes:
echo 'deb http://download.opensuse.org/repositories/home:/cabelo/Debian_12/ /' | sudo tee /etc/apt/sources.list.d/home:cabelo.list
curl -fsSL https://download.opensuse.org/repositories/home:cabelo/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_cabelo.gpg > /dev/null
sudo apt update
sudo apt install zap
After installation, you must run /usr/share/zap/zap.sh to start ZAP.
Where is “symbolic link” go? Why did you change the package name?
Steps to reproduce the behavior
-bash: zap: command not found -bash: zapproxy: command not found -bash: owasp-zap: command not found
Expected behavior
Create the correct link under /usr/bin/
Software versions
:~# apt show zap
Package: zap
Version: 2.15.0-1
Priority: optional
Section: unknown
Maintainer: Alessandro de Oliviera Faria (A.K.A. CABELO) <cabelo@opensuse.org>
Installed-Size: 266 MB
Recommends: openjdk-8-jre
Download-Size: 213 MB
APT-Manual-Installed: yes
APT-Sources: http://download.opensuse.org/repositories/home:/cabelo/Debian_12 Packages
Description: Zed Attack Proxy
The Zed Attack Proxy (ZAP) is an easy to use integrated penetration testing tool for finding vulnerabilities in web applications. It is designed to be used by people with a wide range of security experience and as such is ideal for developers and functional testers who are new to penetration testing. ZAP provides automated scanners as well as a set of tools that allow you to find security vulnerabilities manually.
Screenshots
No response
Errors from the zap.log file
No response
Additional context
No response
Would you like to help fix this issue?
- Yes
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (5 by maintainers)
Thanks for the feedback, sorry @psiinon and everyone for the mistake I made. I tested it here now and everything worked.
I have tried your command but the system automatically redirects to the mirror site and I don’t know how to download from opensuse. So I always get this error:
I think if you change the file name from 2.15.0-1 to 2.15.0-2 that would solve the problem?
update: I just tried using the mirror from ftp.gwdg.de and now the zaproxy command works fine
I will work on it this weekend.
I noticed (later).
Yes, I tried zaproxy, but the system said command not found