AWVS安装(Liunx&Windows)

Liunx安装

1.先将文件解压上传至liunx系统上

2.修改hosts文件

sudo vim /etc/hosts

最后追加

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

127.0.0.1  telemetry.invicti.com
127.0.0.1	telemetry.invicti.com.
::1  telemetry.invicti.com
::1  telemetry.invicti.com.

3.为脚本添加执行权限

sudo chmod +x acunetix_23.8.230906116_x64.sh

4.运行安装脚本

sudo ./acunetix_23.8.230906116_x64.sh

输入回车进行下一步

输入q退出协议

配置用户名密码,用户名必须是邮箱格式,密码不支持弱口令,配置完成等待安装完成,需要一会时间

安装已经完成,但是目前不能使用,需要解除限制

5.解除限制

从解压文件中,复制wvsc文件到安装目录对应位置,修改其所有者和所属组,并为其添加执行权限

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

清除原本存在的license目录内的文件,将license_info.jsonwa_data.dat两个文件复制到相应文件,并设置其所有者和所属组,并将其权限设置为只读,以及最后的禁止删除等操作。

rm -rf /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

如果以前使用过删除license下文件需先解除禁止删除

chattr -i /home/acunetix/.acunetix/data/license/license_info.json
chattr -i /home/acunetix/.acunetix/data/license/wa_data.dat

如果需要安装脚本请留言

6.卸载

##停止服务,
systemctl stop acunetix
##第一步,删除软件安装的目录。
rm -rf /home/acunetix/
##第二步,删除awvs建立的用户。在/etc/passwd 里面
userdel acunetix
##不管怎么样,重启一下
reboot

7.更新

不用卸载,跟安装一样先安装

回车继续

q退出协议

接受许可协议并允许更新版本

更新完成需要重新破解

Windows安装

1.安装

Liunx和Windows安装步骤大致一样,Windows安装到最后一步不要点Finsh或者完成按钮。

2.解除限制


 修改hosts文件(C:\Windows\System32\drivers\etc\hosts)


        先在桌面新建hosts.txt文件,然后把hosts文件中内容全部复制过来,最后面追加下面内容,再把hosts.txt重命名为hosts,最后替换原来的hosts文件即可。

127.0.0.1    updates.acunetix.com

127.0.0.1    erp.acunetix.com

127.0.0.1    bxss.me

127.0.0.1    telemetry.invicti.com

把license_info.json、wa_data.dat文件替换到C:/ProgramData/Acunetix/shared/license/下并把license文件夹及以下文件设置为只读(右键license文件夹属性里面设置)

然后还需要将wvsc文件放入C:\Program Files (x86)\Acunetix\14.9.220830118\

3.更新

直接安装解除限制就行

一键安装脚本

liunx

保存为crack.sh

并赋予执行权限chmod +x crack.sh

root 权限运行

#!/bin/bash
echo -e "Acunetix crack installation script // sirius\n"
if [ "$EUID" -ne 0 ]; then echo " - Please run as root using sudo"; exit 1; fi
if [ ! -d "/home/acunetix/.acunetix/" ]; then echo " - Install Acunetix first"; exit 1; fi
[ ! -f "/etc/systemd/system/acunetix.service" ] && echo " - Warning: acunetix.service is missing"
[ ! -f "/usr/bin/acunetix-login-editor" ] && echo " - Warning: acunetix-login-editor is missing"

for file in wvsc license_info.json wa_data.dat; do [ ! -f "$file" ] && echo -e " - $file is needed to continue\n   (run this from directory with all files downloaded)" && exit 1; done

echo " + Adding entries to /etc/hosts file if they aren't already.."
for host in bxss.me erp.acunetix.com services.invicti.com api.segment.io cdn.segment.io data.pendo.io cdn.pendo.io bxss.s3.dualstack.us-west-2.amazonaws.com s3-r-w.dualstack.us-west-2.amazonaws.com; do grep -q $host /etc/hosts || { echo "0.0.0.0 $host" >> /etc/hosts; echo ":: $host" >> /etc/hosts; }; done
#feel free to change these, erp.acunetix.com is the one that counts, the others are preference -zen

echo " + Stoppping Acunetix service.."
systemctl stop acunetix || echo " - Failed to stop Acunetix service (maybe this is ok?)"

echo " + Replacing wvsc binary.."
highest_dir=$(find /home/acunetix/.acunetix/ -type d -regex ".*/v_[0-9]+" | sort -r | head -n1)
target_wvsc="$highest_dir/scanner/wvsc"
[ ! -f "$target_wvsc" ] && echo " - Problem, wvsc binary not found. Acunetix version correct?" && exit 1
cp wvsc "$target_wvsc"

echo " + Removing any old license data.."
chattr -i /home/acunetix/.acunetix/data/license/*
rm -rf /home/acunetix/.acunetix/data/license/*
echo " + Copying the new files into place"
cp license_info.json wa_data.dat /home/acunetix/.acunetix/data/license/
echo " + Setting file permissions.."
chown acunetix:acunetix /home/acunetix/.acunetix/data/license/{license_info.json,wa_data.dat}
chmod 444 /home/acunetix/.acunetix/data/license/{license_info.json,wa_data.dat}
chattr +i /home/acunetix/.acunetix/data/license/{license_info.json,wa_data.dat}

echo " + Starting the Acunetix service again.."
systemctl start acunetix || echo " - Failed to start Acunetix service"

echo -e "\n Connect to https://localhost:3443/ (or whereever you configured it) with"
echo -e " the credentials used at the time of install.\n Enjoy!\n"

windows

保存为crack_awvs.bat

管理员运行

记得替换成自己版本一下

@echo off & setlocal
echo ############################################################################
echo ## Acunetix  windows crack  sirius##
echo ############################################################################
set /a _Debug=0
cd /d %~dp0

:: Admin check
fltmc >nul 2>nul || set _=^"set _ELEV=1^& cd /d """%cd%"""^& "%~f0" %* ^"&&((if "%_ELEV%"=="" (echo Requesting administrator privileges...&((powershell -nop -c start cmd -args '/d/x/s/v:off/r',$env:_ -verb runas >nul 2>nul) || (mshta vbscript:execute^("createobject(""shell.application"").shellexecute(""cmd"",""/d/x/s/v:off/r ""&createobject(""WScript.Shell"").Environment(""PROCESS"")(""_""),,""runas"",1)(window.close)"^) >nul 2>nul))) else (echo This script requires administrator privileges.& pause))& exit /b)

echo.
for %%i in ("wvsc.exe" "license_info.json" "wa_data.dat") do if not exist "%%i" ( echo [-] %%i missing! &goto:ending)

if not exist "%programfiles(x86)%\Acunetix\15.2.221208162\" (
echo /// Acunetix installation directory is not default or not installed!
echo.    You will need to first install Acunetix, or if you already have, then
echo.    manually copy the cracked exe to whereever your install dir is.
goto:ending
)

echo /// Checking and Stopping the Acunetix services
sc query "Acunetix" 2>nul|find /i "1060" &&(
   echo   x  Acunetix service is not installed!
   echo   x  you need to install acunetix before using this crack
   echo   x  exiting..
goto ending
)||(
  echo   #  service installed, let's stop it..
)
set b=0
:acunetixservice
set /a b=%b%+1
if %b% equ 3 (
   goto end1
)
echo   #  Stopping Acunetix services so we can crack in peace..
net stop "Acunetix" >nul 2>&1
net stop "Acunetix Database" >nul 2>&1
taskkill /im "wvsc.exe" /f >nul 2>&1
taskkill /im "opsrv.exe" /f >nul 2>&1
taskkill /im "wvs_supervisor.exe" /f >nul 2>&1
echo   #  Checking the Acunetix service status.
sc query acunetix 2>nul|find /i "STOPPED" >nul 2>&1 &&(
   echo   #  service is not running. good! let's continue..
)||(
  echo   x  service still running, trying again to stop it..
  goto acunetixservice
)
goto crackit
:end1
echo   x  Cannot install crack since "Acunetix" service failed to stop.
echo   x  Kill it manually (opsrv.exe / wvsc.exe) then run script again.
goto ending

:crackit
echo.
echo /// Entering cracking routine
echo   #  copying replacement wvsc.exe..
rem core should be shortcut to "15.2.221208162\" at time of this writing (obv diff in future...)
copy /v /y wvsc.exe "%PROGRAMFILES(x86)%\Acunetix\core\" >nul 2>&1
echo   #  copying license files..
attrib -h -s -r -o -i -x -p -u "%ALLUSERSPROFILE%\Acunetix\shared\license\*.*"
del /f /q "%ALLUSERSPROFILE%\Acunetix\shared\license\*.*"
copy /v /y wa_data.dat "%ALLUSERSPROFILE%\Acunetix\shared\license\" >nul 2>&1
copy /v /y license_info.json "%ALLUSERSPROFILE%\Acunetix\shared\license\" >nul 2>&1
echo   #  setting read-only attributes..
attrib +r "%ALLUSERSPROFILE%\Acunetix\shared\license\license_info.json" >nul 2>&1
attrib +r "%ALLUSERSPROFILE%\Acunetix\shared\license\wa_data.dat" >nul 2>&1
echo   #  adding host file DNS entries to block telemetry..
set "hosts=%systemroot%\system32\drivers\etc\hosts"
set "list=erp.acunetix.com=updates.acunetix.com=telemetry.invicti.com=data.pendo.io=api.segment.io"
SET "NEWLINE=0.0.0.0"
icacls "%hosts%" /grant administrators:F >nul 2>&1
for /f "delims=" %%I in ('attrib "%hosts%"') do set "raw=%%~I"
setlocal enabledelayedexpansion
for /L %%I in (0,1,18) do if not "!raw:~%%I,1!"==" " set "attrs=!attrs!+!raw:~%%I,1! " 
endlocal & set "attrs=%attrs%"
attrib -h -s -r -o -i -x -p -u "%hosts%" 
>>"%hosts%" (
    for %%a in (%list%) do (
        >NUL 2>NUL find /I "%%a" "%hosts%" || echo(%NEWLINE% %%a
    )
)
attrib %attrs% "%hosts%" 
echo   #  flushing dns settings..
ipconfig /flushdns >nul 2>&1
echo.
echo /// done
:Start
echo   #  Restarting Acunetix service..
net start "Acunetix Database" >nul 2>&1
net start "Acunetix" >nul 2>&1
echo   #  Open your browser to https://localhost:3443 or whatever you set it at install time
:ending
echo.
pause

一键启停

windows

保存为awvs_service.bat

管理员运行


@echo off
chcp 65001
:start
echo 请输入选项:
echo 1 - 启动 AWVS 服务
echo 2 - 停止 AWVS 服务
 
set /p option=
 
if "%option%"=="1" (
    echo 启动 AWVS 服务中
    net start Acunetix
    net start "Acunetix Database"
    echo AWVS 服务已启动。
    exit
) else if "%option%"=="2" (
    echo 停止 AWVS 服务中
    net stop Acunetix
    net stop "Acunetix Database"
    echo AWVS 服务已停止。
    exit
)
goto start

liunx

systemctl stop acunetix  停止运行
systemctl start acunetix  开启运行

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值