10.07.2018, 13:52
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
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. |
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