目 录CONTENT

文章目录

Ubuntu安装AWVS

Administrator
2024-04-01 / 0 评论 / 0 点赞 / 20 阅读 / 6109 字

Ubuntu安装AWVS

上传破解版AWVS安装包

安装

root@phishing:/opt/awvs/Acunetix-v24.1.240111130-Linux-Pwn3rzs-CyberArsenal# bash acunetix_24.1.240111130_x64.sh 

Acunetix Installer Version: v_240111130, Copyright (c) Acunetix
------------------------------------------------------------

Checking os...
Checking for dependencies...
    - dependency libXfixes.so.3 not found on the system
    - dependency libgbm.so.1 not found on the system
    - dependency libatk-bridge-2.0.so.0 not found on the system
    - dependency libpango-1.0.so.0 not found on the system
    - dependency libasound.so.2 not found on the system
    - dependency libxkbcommon.so.0 not found on the system
    - dependency libXcomposite.so.1 not found on the system
    - dependency libcups.so.2 not found on the system
    - dependency libatspi.so.0 not found on the system
    - dependency libXdamage.so.1 not found on the system
    - dependency libcairo.so.2 not found on the system
    - dependency libXrandr.so.2 not found on the system
    - dependency libatk-1.0.so.0 not found on the system
Some dependencies are not found on the system. Aborting installation.
Aborting installation
报错~缺少组件

报错解决办法

apt update
apt --fix-broken install

再安装组件

apt install libxfixes3 libgbm1 libatk-bridge2.0-0 libpango-1.0-0 libasound2 libxkbcommon0 libxcomposite1 libcups2 libatspi2.0-0 libxdamage1 libcairo2 libxrandr2 libatk1.0-0 bzip2

安装完组件后

启动安装脚本~

bash acunetix_24.1.240111130_x64.sh

输入邮件地址,同时也是登录账号

这是安装成功的

安装完后先停止 acunetix服务

systemctl stop acunetix

开始破解

1.添加hosts

127.0.0.1  erp.acunetix.com
127.0.0.1  erp.acunetix.com.
::1  erp.acunetix.com
::1  erp.acunetix.com.

192.178.49.174  telemetry.invicti.com
192.178.49.174  telemetry.invicti.com.
2607:f8b0:402a:80a::200e  telemetry.invicti.com
2607:f8b0:402a:80a::200e  telemetry.invicti.com.

2.Let's replace wvsc file:让我们替换wvsc文件

cp wvsc /home/acunetix/.acunetix/v_240111130/scanner/wvsc
chown acunetix:acunetix /home/acunetix/.acunetix/v_240111130/scanner/wvsc
chmod +x /home/acunetix/.acunetix/v_240111130/scanner/wvsc

3.Time to add licenses:添加许可证的时间

rm /home/acunetix/.acunetix/data/license/* 
cp license_info.json /home/acunetix/.acunetix/data/license/
cp wa_data.dat /home/acunetix/.acunetix/data/license/
chown acunetix:acunetix /home/acunetix/.acunetix/data/license/license_info.json
chown acunetix:acunetix /home/acunetix/.acunetix/data/license/wa_data.dat
chmod 444 /home/acunetix/.acunetix/data/license/license_info.json
chmod 444 /home/acunetix/.acunetix/data/license/wa_data.dat
chattr +i /home/acunetix/.acunetix/data/license/license_info.json 
chattr +i /home/acunetix/.acunetix/data/license/wa_data.dat

破解完成后就可以启动AWVS啦~~~

systemctl start acunetix

访问https://ip:3443/app/login登录

https://ip:3443/app/login
账号密码就是按照的时候填写的那个。

最后别忘了

禁用更新

小彩蛋~

就是ubuntu系统在重启后会更新hosts文件,恢复至初始,

那样授权就会掉,所以需要让hosts文件内一直存在授权地址解析。

这里使用一个小脚本来解决

1.创建自动更新hosts脚本

/opt/awvs/update_hosts.sh

内容为

#!/bin/bash

# 删除可能已经存在的旧条目
sudo sed -i '/erp.acunetix.com/d' /etc/hosts
sudo sed -i '/telemetry.invicti.com/d' /etc/hosts

# 添加新的条目
echo "127.0.0.1  erp.acunetix.com" | sudo tee -a /etc/hosts > /dev/null
echo "127.0.0.1  erp.acunetix.com." | sudo tee -a /etc/hosts > /dev/null
echo "::1  erp.acunetix.com" | sudo tee -a /etc/hosts > /dev/null
echo "::1  erp.acunetix.com." | sudo tee -a /etc/hosts > /dev/null
echo "192.178.49.174  telemetry.invicti.com" | sudo tee -a /etc/hosts > /dev/null
echo "192.178.49.174  telemetry.invicti.com." | sudo tee -a /etc/hosts > /dev/null
echo "2607:f8b0:402a:80a::200e  telemetry.invicti.com" | sudo tee -a /etc/hosts > /dev/null
echo "2607:f8b0:402a:80a::200e  telemetry.invicti.com." | sudo tee -a /etc/hosts > /dev/null

2.赋予执行权限

chmod +x update_hosts.sh

3.设置定时任务

crontab -e

定时任务内输入这个

@reboot /opt/awvs/update_hosts.sh

ok,接下来每次重启后hosts文件都会被写入授权解析~

0

评论区