Skip to content

搭建方式

yutianqaq edited this page Feb 1, 2024 · 6 revisions

下载发行版,以下搭建过程基于 Kali Linux 2023.4

依赖安装

nim & c 依赖

sudo apt update
sudo apt install mingw-w64

curl https://nim-lang.org/choosenim/init.sh -sSf | sh
# 输入 y 

echo "export PATH=$PATH:/home/kali/.nimble/bin" >> ~/.zshrc
source ~/.zshrc
nimble install winim
# 输入 y 

go 依赖

wget https://go.dev/dl/go1.21.6.linux-amd64.tar.gz

sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.6.linux-amd64.tar.gz

echo "export CGO_ENABLED=0" >> ~/.zshrc
echo "export GOOS=windows" >> ~/.zshrc
echo "export GOARCH=amd64" >> ~/.zshrc
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.zshrc
source ~/.zshrc

启动 AVEC 平台

cd /home/kali
unzip AVEvasionCraftOnline.zip
cd AVEvasionCraftOnline

修改配置文件 非常重要 templates-directory、storage-directory、compilerwork-directory 修改为相应的路径

bypassav:
  templates-directory: /home/kali/AVEvasionCraftOnline/template
  storage-directory: /home/kali/AVEvasionCraftOnline/download
  compilerwork-directory: /home/kali/AVEvasionCraftOnline/compiler

启动后端

java -jar -Dspring.config.location=application.yaml AVEvasionCraftOnline.jar --server.port=80

至此完成配置

Clone this wiki locally