下载 Acunetix 14.5:https://sysin.org/blog/acunetix-14/
请访问原文链接:https://sysin.org/blog/acunetix-14-linux-install/,查看最新版。原创作品,转载请保留出处。
作者:gc(at)sysin.org,主页:www.sysin.org
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-Nz8rJ8Sq-1635579692877)(https://sysin.org/blog/acunetix-14-linux-install/acunetix-logo.svg)]
推荐使用:
以下为官方系统要求,参看官方文档:Installing Acunetix。
chmod +x acunetix_14.5.*_x64.sh
sudo ./acunetix_14.5.*_x64.sh
在安装 Acunetix 时要求先安装以下软件包:
On Ubuntu:
sudo apt-get install libxdamage1 libgtk-3-0 libasound2 libnss3 libxss1 libx11-xcb1 libxcb-dri3-0 libgbm1 libdrm2 libxshmfence1
On Suse Linux Enterprise Server or OpenSUSE Leap:
sudo zypper install libXdamage1 libgtk-3-0 libasound2 mozilla-nss libX11-xcb1 libXss1
On Red Hat Enterprise Linux 8 or CentOS 8 or CentOS Stream:
sudo yum install libX11 libX11-devel gtk3 nss libXScrnSaver alsa-lib bzip2 mesa-libgbm libxshmfence
在 CentOS 或者 RedHat 上安装 Acunetix 需要禁用 SELinux。
vi /etc/selinux/config
# SELINUX=enforcing #注释掉
# SELINUXTYPE=targeted #注释掉
SELINUX=disabled #增加
:x #保存,关闭
setenforce 0 #使配置立即生效,或者重启系统
#shutdown -r now #重启系统生效
sestatus #查看状态
# 直接使用 sed 命令修改
# 修改 ELINUX=enforcing 为 SELINUX=disabled,即替换行
sed -i '/^SELINUX=.*/c SELINUX=disabled' /etc/selinux/config
# 或者:sed -i '/^SELINUX=enforcing/c SELINUX=disabled' /etc/selinux/config
# 注释 SELINUXTYPE=targeted
sed -i 's/^SELINUXTYPE=targeted/#&/' /etc/selinux/config
默认 Acunetix 将安装到 /home/acunetix/.acunetix
。
请访问 https://IP:3443/ (IP 或为主机名)来打开 Acunetix UI。
账号和密码在安装过程中设定。
本例运行在 Rocky Linux 8 VM 之上。
# 禁用 SELinux
# 修改 ELINUX=enforcing 为 SELINUX=disabled,即替换行
sed -i '/^SELINUX=.*/c SELINUX=disabled' /etc/selinux/config
# 注释 SELINUXTYPE=targeted
sed -i 's/^SELINUXTYPE=targeted/#&/' /etc/selinux/config
setenforce 0 #使配置立即生效,或者重启系统
#shutdown -r now #重启系统生效
sestatus #查看状态
# 安装依赖软件包
sudo yum install libX11 libX11-devel gtk3 nss libXScrnSaver alsa-lib bzip2 mesa-libgbm libxshmfence
# 赋予执行权限
chmod +x acunetix_14.5.211008143_x64.sh
# 运行安装程序
sudo ./acunetix_14.5.211008143_x64.sh
Acunetix Installer Version: v_211008143, Copyright (c) Acunetix
------------------------------------------------------------
Checking os...
Checking for dependencies...
Please read the following License Agreement. You must accept the terms of this
agreement before continuing with the installation.
press ENTER to continue
>>>
# 此时出现许可协议
INVICTI SUBSCRIPTION SERVICES AGREEMENT
# 按空格键翻页
Accept the license terms? [yes|no]
[no] >>> yes
# 输入 yes 接受许可协议
Configuring acunetix user...
Creating user acunetix.
By default the Acunetix will be installed to /home/acunetix/.acunetix
# 默认安装路径如上
Checking database port...
Checking backend port...
Configuring hostname...
Insert new hostname, or leave blank to use R8
Hostname [R8]:
Using hostname R8
Configuring the master user...
Email: gc(at)sysin.org
Password:
Password again:
# 登录 WebUI 的管理员账号(邮件地址)和密码
Initializing file system...
Extracting files to /home/acunetix/.acunetix....
Installing the database...
rm: cannot remove '/home/acunetix/.acunetix/temp/pw': No such file or directory
Starting the database process...
- Create database
- Update database structure
- Populate database
- Add new vulnerability data
- Updating script versions
- Creating the master user
Stopping the database process...
Generating certificates...
Generating certificate authority & certificates
Generating certificate authority
Certificate authority generation succesful
Generating certificate ...
Certification generation succesful
Saving settings...
Creating the startup script...
Registering service...
Created symlink /etc/systemd/system/multi-user.target.wants/acunetix.service → /etc/systemd/system/acunetix.service.
Adding LSR shortcuts...
Creating uninstall...
Please visit https://R8:3443/ to access Acunetix UI
# 通过 https://ip:3443/ 访问 WebUI
下载 Acunetix 14.5:https://sysin.org/blog/acunetix-14/