Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- sudo ip6tables -F
- sudo echo > file.txt
- for i in {1..2000}
- do
- counter=1
- echo -n \ sudo ip6tables -A FORWARD -p tcp --dport 80 >> file.txt
- while [ $counter -le 300 ]
- do
- NEW_STRING=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 20 | head -n 1)
- echo -n \ " -m string --string $NEW_STRING --algo bm" >> file.txt
- ((counter++))
- done
- echo -n \ " -j REJECT --reject-with tcp-reset" >> file.txt
- echo "" >> file.txt
- done
- echo All done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement