akimatsu123
July 30th, 2009, 12:00 PM
if [[ ("$bool_cracked" != "y") || ("$bool_cracked" != "Y") ]]
then
echo "Will restart aircrack-ng. Press any key to continue (Ctrl+C to quit)..."
else
fi
the above is a script from my wifi cracking script. yes, i know, only perform it on your own wifi blablabla. i'm just doing this for learning purposes, and since it seemed fun to write a aircrack0ng script, that's what im doing.
the above statement throws out the error "syntax error near unexpected token `fi'" what's wrong with my script? thanks
then
echo "Will restart aircrack-ng. Press any key to continue (Ctrl+C to quit)..."
else
fi
the above is a script from my wifi cracking script. yes, i know, only perform it on your own wifi blablabla. i'm just doing this for learning purposes, and since it seemed fun to write a aircrack0ng script, that's what im doing.
the above statement throws out the error "syntax error near unexpected token `fi'" what's wrong with my script? thanks