Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #rm -R /tmp/info.txt
- FILE='/tmp/badip.list' #Это файлик с IP-адресами
- while read line; do
- echo
- T1=`geoiplookup $line`
- T2=`curl ipinfo.io/$line`
- #T3=`whois $line`
- echo "$T1" >> /tmp/info.txt
- echo "$T2" >> /tmp/info.txt
- #echo "$T3" >> /tmp/info.txt
- done < $FILE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement