How to Perform Bulk IP Lookup – Location and Owner

September 11, 2018

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