Since I bought this script for 30 USD, I wish to enable it as well. However, I have a strange error.
Here is the bot.sh
When running the script (bot.sh) I'm getting this error:
Which refers to:
and
My system is Debian minimal, I have PHP5 installed, screen installed, tcpdump installed.
Anyone knows how to fix this? Thank you in advance.
Here is the bot.sh
Code:
#!/bin/bash
# Colors
ESC_SEQ="\x1b["
COL_RESET=$ESC_SEQ"39;49;00m"
COL_GREEN=$ESC_SEQ"32;01m"
COL_GOLD=$ESC_SEQ"30;33m"
COL_RED=$ESC_SEQ"31;02m"
echo -e "$COL_RED
____ ____ _
/ ___|___| _ \ _ __ ___ _ __ ___| |_
| | _|_ / |_) | '__/ _ \ | '_ \ / _ \ __|
| |_| |/ /| __/| | | (_) || | | | __/ |_
\____/___|_| |_| \___(_)_| |_|\___|\__|
$COL_GOLD
╔/════════════════╔๑ஜ۩۞۩ஜ๑╗════════════════\╗
║ ║
║ ♦ Script created by Gizi ♦ ║
║ ♦ Web www.GzPro.net ♦ ║
║ ♦ Skype gzpro.net ♦ ║
║ ║
╚\════════════════╚๑ஜ۩۞۩ஜ๑╝════════════════/╝
$COL_RESET
"
if [ $1 = 'stop' ]
then
pkill -f Ddos_Guard
echo -e "Ddos_Guard: $COL_GREEN Bot has been STOPED! $COL_RESET"
fi
if [ $1 = 'start' ]
then
screen -A -m -d -S Ddos_Guard php ddosguard.php
echo -e "Ddos_Guard: $COL_GREEN Bot has been STARTED! $COL_RESET"
fi
When running the script (bot.sh) I'm getting this error:
Code:
./bot.sh: line 26: [: =: unary operator expected
./bot.sh: line 32: [: =: unary operator expected
Which refers to:
Code:
if [ $1 = 'stop' ]
and
Code:
fi
My system is Debian minimal, I have PHP5 installed, screen installed, tcpdump installed.
Anyone knows how to fix this? Thank you in advance.