Proxy anonymous check

Chonchonts

Newbie
Joined
Jul 2, 2012
Messages
17
Reaction score
4
Hello,

I build my bot with C# and Selenium.
Anyone have some fast and efficient ways to check if proxy is anonymous or not ?

Cheers
 
You should check out proxy judges. They can determine if a proxy is transparent, anonymous, or elite.
 
I believe that proxy providers have api, so can make a call and check it.
 
put a simple PHP page on your website that dumps the headers. Then check the local IP can be found. Check the headers:
REMOTE_ADDR
and sometimes a proxy will include the header X-FORWARDED-BY to announce it is a proxy and give your local IP away.

But don't do this in selenium, just make a http request
 
Use this proxy and connect to one site (google.com example) If can connect success this proxy is working
 
use azenv here is a copy, just save it as azenv.php (or anything you like really):

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>AZ Environment variables 1.04</title>
</head>
<body>
<pre>
<?php
##########################################################################
#    
#    AZ Environment variables 1.04 © 2004 AZ
#    Civil Liberties Advocacy Network
#    http://clan.cyaccess.com   http://clanforum.cyaccess.com
#    
#    AZenv is written in PHP & Perl. It is coded to be simple,
#    fast and have negligible load on the server.
#    AZenv is primarily aimed for programs using external scripts to
#    verify the passed Environment variables.
#    Only the absolutely necessary parameters are included.
#    AZenv is free software; you can use and redistribute it freely.
#    Please do not remove the copyright information.
#
##########################################################################

foreach ($_SERVER as $header => $value )
{ if     (strpos($header , 'REMOTE')!== false || strpos($header , 'HTTP')!== false ||
    strpos($header , 'REQUEST')!== false) {echo $header.' = '.$value."\n"; } }
?>
</pre>
</body>
</html>
 
Find some online services that can tell alot info about proxy you use.

To make it faster i would advice you to use Leaf.xNet library insted of engines like Selenium.
It can work for bigger amount of threads, than it can do Selenium.
 
Back
Top