Created
August 2, 2016 11:43
-
-
Save skinofstars/84516f21601aa705dda0691a8aff7a5f to your computer and use it in GitHub Desktop.
quick ISP lookup
This file contains 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
#!/bin/bash | |
# USE | |
# - Save as bulk.sh, then run the commands | |
# - chmod +x bulk.sh | |
# - ./bulk.sh ip_addresses.txt | |
# It reads the ip_address.txt line by line, | |
# does a whois request on each line, and looks | |
# for the term 'netname' in each whois. | |
while read line | |
do | |
whois $line | grep netname | |
done < $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment