How to Perform Bulk IP Lookup – Location and Owner

I recently analyzed a pcap file with a large list of destination addresses. In order to quickly determine the owner of those IP addresses I found this one liner.

# cat ips.txt | xargs -I% curl -s http://ipinfo.io/%/org | paste -d"," ips.txt -

Source:
https://ipinfo.io/developers/bulk-lookups

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.