SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 10/07/2018, 01:52 PM   #1
bruxo00
High-roller
 
bruxo00's Avatar
 
Join Date: Oct 2012
Location: Portugal
Posts: 1,044
Reputation: 136
Default doxIT! - Analyse Players IPs


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 - http://forum.sa-mp.com/showthread.php?t=570927
Pawn.CMD - http://forum.sa-mp.com/showthread.php?t=608474

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


DOWNLOAD
Github

__________________
RELEASES

[INC] SAMPMailJS
[FS] doxIT!
[GM] Paradise City Roleplay
[TOOL] bAnticheat
[TOOL] Logs Checker
[TUTORIAL] Email confirmation system
bruxo00 is online now   Reply With Quote
Old 10/07/2018, 02:59 PM   #2
MustafaKemalAtaturk
Little Clucker
 
MustafaKemalAtaturk's Avatar
 
Join Date: Mar 2015
Location: Turkey
Posts: 10
Reputation: 0
Default Re: doxIT! - Analyse Players IPs

good job mate
__________________
MustafaKemalAtaturk is offline   Reply With Quote
Old 10/07/2018, 03:05 PM   #3
Akeem
Big Clucker
 
Join Date: Aug 2017
Location: Pun de Gaza
Posts: 75
Reputation: 0
Default Re: doxIT! - Analyse Players IPs

This is an awesome script mate.
Akeem is offline   Reply With Quote
Old 10/07/2018, 03:58 PM   #4
CodeStyle175
Huge Clucker
 
CodeStyle175's Avatar
 
Join Date: Apr 2014
Posts: 414
Reputation: 34
Default Re: doxIT! - Analyse Players IPs

is this api free cause in some time it will block some requests.
CodeStyle175 is online now   Reply With Quote
Old 11/07/2018, 02:21 AM   #5
bruxo00
High-roller
 
bruxo00's Avatar
 
Join Date: Oct 2012
Location: Portugal
Posts: 1,044
Reputation: 136
Default Re: doxIT! - Analyse Players IPs

Thanks =)
__________________
RELEASES

[INC] SAMPMailJS
[FS] doxIT!
[GM] Paradise City Roleplay
[TOOL] bAnticheat
[TOOL] Logs Checker
[TUTORIAL] Email confirmation system
bruxo00 is online now   Reply With Quote
Old 11/07/2018, 08:31 AM   #6
AzaMx
Huge Clucker
 
Join Date: Aug 2014
Location: moon
Posts: 299
Reputation: 61
Default Re: doxIT! - Analyse Players IPs

nice one
AzaMx is offline   Reply With Quote
Old 11/07/2018, 09:40 AM   #7
Nubik
Big Clucker
 
Nubik's Avatar
 
Join Date: May 2013
Location: $location
Posts: 50
Reputation: 4
Default Re: doxIT! - Analyse Players IPs

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.
Nubik is online now   Reply With Quote
Old 11/07/2018, 11:47 AM   #8
iLearner
Gangsta
 
iLearner's Avatar
 
Join Date: Apr 2017
Posts: 553
Reputation: 116
Default Re: doxIT! - Analyse Players IPs

Which api are you using? I am currently using ip-api.com however it sometimes returns incorrect data or incorrect format.
iLearner is online now   Reply With Quote
Old 11/07/2018, 12:34 PM   #9
bruxo00
High-roller
 
bruxo00's Avatar
 
Join Date: Oct 2012
Location: Portugal
Posts: 1,044
Reputation: 136
Default Re: doxIT! - Analyse Players IPs

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.
__________________
RELEASES

[INC] SAMPMailJS
[FS] doxIT!
[GM] Paradise City Roleplay
[TOOL] bAnticheat
[TOOL] Logs Checker
[TUTORIAL] Email confirmation system
bruxo00 is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] doxIT! - Ferramenta para análise de IP's bruxo00 Lançamentos/Releases 21 10/07/2018 01:51 PM
a idea for disarm all players and give all players ? Saliim Scripting Help 10 30/04/2016 07:19 PM
Send players into arena after 2+ players are ready. rangerxxll Scripting Help 2 05/03/2014 03:32 AM
Let admins read players' PM's selectively without players number limitation WellDone Scripting Help 6 15/05/2013 09:34 AM
Revolutionary Roleplay [Heavy RP - By the Players, For the Players] Thoughts? Jarred Miller General 5 12/06/2011 07:06 PM


All times are GMT. The time now is 05:40 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.