[FilterScript] doxIT! - Analyse Players IPs
#1


doxIT!


DoxIT is a simple filterscript that allows the administrators to have access to some nice information about the player IP using the command /dox <playerid>.
  • Reverse DNS
  • Internet Username
  • City
  • Country
  • Country Code
  • Internet Server Provider
  • Latitude
  • Longitude
  • TimeZone
  • Organization
  • Region
  • Region Name
  • Postal Code
  • Using/Not using VPN/Proxy
You can integrate this filterscript in your gamemode easily.

In the print, it says Origin IP Banned because the API that I use is free and has a daily limit of requests, and when you pass that limit it bans your IP for that day. I got banned today because I was doing to many requests for testing purposes.


HOW DOES THE VPN DETECTION WORK
Directly from the API website:
Quote:

Given an IP address, the system will return a probabilistic value (between a value of 0 and 1) of how likely the IP is a VPN / proxy / hosting / bad IP. A value of 1 means that IP is explicitly banned (a web host, VPN, or TOR node) by our dynamic lists. Otherwise, the output will return a real number value between 0 and 1, of how likely the IP is bad / VPN / proxy, which is inferred through machine learning & probability theory techniques using dynamic checks with large datasets. Billions of new records are parsed each month to ensure the datasets have the latest information and old records automatically expire. The system is designed to be efficient, fast, simple, and accurate.

DEPENDENCIES

strlib - https://github.com/oscar-broman/strlib
sscanf - https://sampforum.blast.hk/showthread.php?tid=570927
Pawn.CMD - https://sampforum.blast.hk/showthread.php?tid=608474

(I used Pawn.CMD but you can use other ones, it's up to you)


DOWNLOAD
Github

Reply
#2

good job mate
Reply
#3

This is an awesome script mate.
Reply
#4

is this api free cause in some time it will block some requests.
Reply
#5

Thanks =)
Reply
#6

nice one
Reply
#7

Quote:
Originally Posted by CodeStyle175
View Post
is this api free cause in some time it will block some requests.
It's free but with limits.

Code:
Our system will automatically ban any IP addresses doing over 150 requests per minute.
Reply
#8

Which api are you using? I am currently using ip-api.com however it sometimes returns incorrect data or incorrect format.
Reply
#9

Quote:
Originally Posted by iLearner
View Post
Which api are you using? I am currently using ip-api.com however it sometimes returns incorrect data or incorrect format.
I'm using that one for IP info and http://ipintel.net for VPN detection.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)