当前位置: 首页 > 工具软件 > Acunetix > 使用案例 >

Acunetix 14 Installation on Linux

夏元明
2023-12-01

下载 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

  • Supported Operating systems
    • Windows
      • Microsoft Windows 8.1 or Windows 2012 R2 and later
    • macOS
      • macOS Catalina and macOS Big Sur
    • Linux
      • Ubuntu Desktop/Server 18.0.4 LTS or higher
      • Suse Linux Enterprise Server 15
      • openSUSE Leap 15.0 and 15.1
      • Kali Linux versions 2019.1 and 2020.1
      • CentOS 8 and CentOS Stream Server and Workstation (with SELinux disabled)
      • RedHat 8 (with SELinux disabled)
      • We are actively testing other Linux distributions. Please let us know if you have requests for specific distros.
  • CPU: 64 bit processor
  • System memory: minimum of 2 GB RAM
  • Storage: 1 GB of available hard-disk space.
    This does not include the storage required to save the scan results - this will depend on the level of usage of Acunetix.
  • Supported Browsers
    The Acunetix User Interface is delivered through a web server. The supported browsers are:
    • Firefox
    • Chrome
    • Edge
    • Safari

一般步骤

  • 官网下载 Acunetix(需要许可).
  • 打开终端,或者 SSH 登录 Shell(该软件无需 GUI)
  • 赋予安装文件可执行权限
    例如:chmod +x acunetix_14.5.*_x64.sh
  • 运行安装程序
    例如:sudo ./acunetix_14.5.*_x64.sh
  • 安装程序将检查软件包依赖关系,按下一章节的描述安装软件包
  • 查看和接受 “许可协议”
  • 配置主机名用于访问 Acunetix UI
  • 创建管理员账号(邮件地址)和凭据用于配置和管理 Acunetix
  • 完成安装过程

注意事项

Package 要求

在安装 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

SeLinux on CentOS 8, CentOS Stream, or RedHat 8

在 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/

 类似资料:

相关阅读

相关文章

相关问答