Skip to content

Instantly share code, notes, and snippets.

@yousecjoe
Last active June 18, 2024 05:05
Show Gist options
  • Save yousecjoe/d74f600c9dba83f726524ebfcf8598b2 to your computer and use it in GitHub Desktop.
Save yousecjoe/d74f600c9dba83f726524ebfcf8598b2 to your computer and use it in GitHub Desktop.

GeoIP

Summary

A curl command which returns a JSON object with IP WHOIS data from the ip-api.com database. Useful for investigating IPv4 addresses.

curl -s "http://ip-api.com/json/<IPv4>" | jq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment