edubart / ddosmon

Live DDOS monitor in the command line using ncurses
55 stars 29 forks source link

Errors in scripts #1

Open neqste opened 10 years ago

neqste commented 10 years ago

if [ -z $1 ]; then echo "Usage: ${0} <compromised/uncomprimised>" exit fi

sendSignalToServer() {

inform any server that it is being attacked here

}

if [ $1 = "compromised" ]; then sendSignalToServer SIGUSR1; elif [ $1 = "uncompromised" ]; then sendSignalToServer SIGUSR2; else echo "invalid option" fi

Line 10