Files
OSINT-with-LLM/recon/ip_recon.py
2025-11-20 10:49:44 +01:00

9 lines
283 B
Python

import requests
def check_ip(ip):
url = "https://api.abuseipdb.com/api/v2/check"
headers = {"Key": "your-api-key", "Accept": "application/json"}
params = {"ipAddress": ip, "maxAgeInDays": 90}
r = requests.get(url, headers=headers, params=params)
return r.json()