Skip to content

havpet/ipvx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ipvx

GitHub release (latest by date)

Quick and simple IP and domain threat intel using multiple data providers.

Features

GET / : IP in plain text

Returns the current IP of the visitor in plain text. This is the default page.

GET /host : IP and host in plain text

Returns the current IP and hostname of the visitor in plain text for usage in command line tools or similar.

GET /json : IP and host in JSON

Returns the current IP and hostname of the visitor in JSON format for programmatic usage.

GET /0.0.0.0 : Info about specific IP in JSON

Returns info about the specified IP in JSON format. Sources:

GET /domain.com : Info about domain in JSON

Returns threat data related to specified domain name. Sources:

Usage

  1. Obtain tokens from IPinfo (https://ipinfo.io/signup), AbuseIPDB (https://www.abuseipdb.com/register), Threatfox (https://auth.abuse.ch/) and ipdata.co (https://ipdata.co).
  2. Add the tokens to the variables in index.php lines 16-19
  3. Add the allowed source IP addresses to the $allowed_ip variable on line 21 to prevent breach of ToS.
  4. Host on any PHP server.

About

IP and domain lookup tool with threat intel features

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages