jreisinger / checkip

Get (security) info about IP addresses
MIT License
230 stars 24 forks source link

Consider adding DShield API from SANS.edu Internet Storm Center #30

Closed jreisinger closed 1 year ago

jreisinger commented 2 years ago

https://isc.sans.edu/api/

jreisinger commented 2 years ago
$ while true; do ip=$(./randip); curl --silent "https://isc.sans.edu/api/ip/${ip}?json" | jq; sleep 2; done
{
  "ip": {
    "number": "104.213.54.128",
    "count": null,
    "attacks": null,
    "maxdate": null,
    "mindate": null,
    "updated": null,
    "comment": null,
    "maxrisk": null,
    "asabusecontact": "abuse@microsoft.com",
    "as": 8075,
    "asname": "MICROSOFT-CORP-MSN-AS-BLOCK",
    "ascountry": "US",
    "assize": 44952576,
    "network": "104.208.0.0/13"
  }
}