本文最后更新于 582 天前,其中的信息可能已经有所发展或是发生改变。
Download
https://github.com/DasSecurity-HatLab/AoiAWD
https://pecl.php.net/package/mongodb
http://pkgs.fedoraproject.org/repo/pkgs/inotify-tools/inotify-tools-3.14.tar.gz/b43d95a0fa8c45f8bab3aec9672cf30c/inotify-tools-3.14.tar.gz
Prepare
apt update
apt install vim net-tools git php7.4-fpm php7.4-mysql php7.4-curl php7.4-gd php7.4-mbstring php7.4-xml php7.4-xmlrpc php7.4-zip php7.4-opcache mongodb-server php7.4-dev php-pear npm -y
npm config set registry https://registry.npm.taobao.org
git clone https://github.com/DasSecurity-HatLab/AoiAWD.git
pecl install mongodb # 下载地址被墙
vim /etc/php/7.4/cli/php.ini
# extension=mongodb.so
# phar.readonly = Off
# phar.require_hash = Off
wget http://pkgs.fedoraproject.org/repo/pkgs/inotify-tools/inotify-tools-3.14.tar.gz/b43d95a0fa8c45f8bab3aec9672cf30c/inotify-tools-3.14.tar.gz
tar -zxvf inotify-tools-3.14.tar.gz
cd inotify-tools-3.14
./configure && make && make install
Build Frontend
cd ./Frontend && sudo npm install && sudo npm run build
Build AoiAWDcore
cd AoiAWD
rm -rf src/public/*
cp -r ../Frontend/dist/* src/public/
php compile.php
Build TapeWorm
cd TapeWorm
php compile.php
Build Guardian
cd Guardian
php compile.php
Run
# 上传至防守方靶机
chmod +x tapeworm.phar
chmod +x roundworm
chmod +x guardian.phar
./tapeworm.phar -d 目录 -s ip:port
./roundworm -w 目录 -s ip -p port
./guardian.phar -i 目录 -s ip:port