fix mail and ipinfo

This commit is contained in:
Valentin CZERYBA 2023-02-05 22:13:55 +01:00
parent 02028f3bf3
commit 3dff2b0975

View File

@ -50,7 +50,8 @@ do
for i in ${list_ip[@]}
do
echo ${i} >> ${MAIL}
curl http://ipinfo.ip/${i} >> ${MAIL}
curl http://ipinfo.io/${i} >> ${MAIL}
echo "" >> ${MAIL}
echo ${i} >> ${BLACKLIST}
done
echo "IP dejà blacklisté : " >> ${MAIL}