fixed maybe

This commit is contained in:
Shihaam Abdul Rahman 2021-05-14 18:53:34 +05:00
parent 6446db3c3a
commit fac54af225

View File

@ -18,21 +18,26 @@ elif [ "$LOGIN" = "2" ]
then then
echo 'Your username or password is incorrect.' echo 'Your username or password is incorrect.'
echo 'Please check .env to see if theyre entered correctly.' echo 'Please check .env to see if theyre entered correctly.'
: echo 'exiting..'
exit
elif [ "$LOGIN" = "20" ] elif [ "$LOGIN" = "20" ]
then then
echo 'Your account is locked!' echo 'Your account is locked!'
echo 'Reset password from "https://www.bankofmaldives.com.mv/internetbanking/forgot_password"' echo 'Reset password from "https://www.bankofmaldives.com.mv/internetbanking/forgot_password"'
: echo 'exiting..'
exit
elif [ "$LOGIN" = "" ] elif [ "$LOGIN" = "" ]
then then
if [ "curl -s https://www.bankofmaldives.com.mv/" = "error code: 1020" ] if [ "curl -s https://www.bankofmaldives.com.mv/" = "error code: 1020" ]
then then
echo "Your IP is blocked from CF for DoS attack" echo "Your IP is blocked from CF for DoS attack"
echo "Increase delay and try again later" echo "Increase delay and try again later"
: echo 'exiting..'
exit
else else
: echo 'Something went wrong..'
echo 'exiting..'
exit
fi fi
else else
echo 'Something went wrong..' echo 'Something went wrong..'