Hacking
maxmind.com : anti proxy , block proxy users
CEOinIRVINE
2009. 1. 30. 04:10
Proxy Detection Web Service: Usage from Perl, ASP and PHP
Active Server Pages (ASP) Example
Requirements:
![]() |
Examples below show how to use the MaxMind Proxy Detection web service API from server-side scripts in Perl, ASP and PHP. These can be adapted for other web services.
Any programming language that supports HTTP client calls should be able to use MaxMind web services.
Perl Example
#!/usr/bin/perl |
![]() |
Dim objHttp, strQuery |
![]() |
- ASP 3.0+
- Microsoft® XML 3.0 Component
#!/usr/bin/php -q
<?php
$license_key = 'LICENSE_KEY_HERE';
$ipaddress = 'IP_ADDRESS_HERE';
$query = "https://minfraud3.maxmind.com/app/ipauth_http?l=" . $license_key
. "&ipaddr=" . $ipaddress;
$score = file_get_contents($query);
echo $score;
?>