Created
May 24, 2019 13:36
-
-
Save ZackStone/0e3ed824f50c38f62b889c38dd365d30 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OUTFILE=output_$(date +"%Y-%m-%d_%H-%m-%S").json | |
while read PROXY; do | |
IP=$(curl -x $PROXY -s https://api.ipstack.com/check?access_key={enter_your_ipstack_access_key_here}) | |
echo $IP >> $OUTFILE | |
printf "\n" >> $OUTFILE | |
done <proxies.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment