How to check proxy anonymity level by header parameters?

kaloyan14

Regular Member
Joined
Dec 12, 2011
Messages
284
Reaction score
68
Hi blackhaters, i need your help...
I develop custom proxy checker and i need to check every proxy level of anonymity - L1(elite proxies), L2(anonymous proxies) and L3(transparent proxies).
What i do:
I use proxy judge and open a connection(with proxy) to the judge. I get the response header and all paramethers - this is not a problem.

The problem is that i don't know which header parameters must be available for L1 and which other for L2.. ect.
I found this list of header parameters.


Code:
/*normal params*/
1. HTTP_ACCEPT
2. HTTP_ACCEPT_ENCODING
3. HTTP_ACCEPT_LANGUAGE
4. HTTP_ACCEPT_CHARSET
5. HTTP_HOST
6. HTTP_KEEP_ALIVE
7. HTTP_COOKIE
8. HTTP_UA_CPU
9. HTTP_REFERER


/*important params*/
10. HTTP_USER_AGENT
11. REMOTE_ADDR
12. REMOTE_HOST
13. HTTP_CONNECTION
14. HTTP_X_FORWARDED_FOR
15. HTTP_FORWARDED
16. HTTP_VIA
17. KEEP_ALIVE        
18. HTTP_MAX_FORWARDS
19. MAX_FORWARDS
20. HTTP_CACHE_CONTROL
21. HTTP_PROXY_CONNECTION
22. HTTP_X_BLUECOAT_VIA
23. HTTP_PC_REMOTE_ADDR
24. HTTP_PROXY___________
25. HTTP_PROXY____
26. HTTP_X_FWD_IP_ADDR
27. HTTP_X_HOST
28. HTTP_X_REFERER
29. HTTP_X_SERVER_HOSTNAME
30. PROXY_HOST
31. PROXY_PORT
32. PROXY_REQUEST
33. HTTP_CLIENT_IP
34. HTTP_PRAGMA

I will be very happy if somebody can tell me:
For L1 proxy you need to pass these parameters: 1,2,3...
For L2 proxy you need to pass these parameters: 5,9,25...
For L2 proxy... etc.

Thanks!:)
 
Can somebody help please?
 
google is your best friend buddy, it is long to explain..

or simply use any other proxy checker against a set of proxies and figure out what headers for what levels are
 
Level 1(Elite):
REMOTE_ADDR

Level 2(Anonymous):
HTTP_X_FORWARDED_FOR
X-Forwarded-For
HTTP_VIA

Level 3(Transparent):
X-Forwarded-For: $IP
HTTP_X_FORWARDED_FOR: $IP
HTTP_VIA: $IP
HTTP_VIA: 1.1 $IP
HTTP_VIA: 1.0 $IP
HTTP_HOST: $IP
REMOTE_ADDR: $IP

Replace $IP with your actual IP so that if it's an L3 and redirects it shows both IPs. It should trigger one of those strings as a response for everything you check. If it triggers only REMOTE_ADDR: with the proxy IP, then it's L1, but if you get the REMOTE_ADDR: Your:IP then you'll know it was forwarded. Using those strings you should be able to check the level of any alive and valid proxy I believe. I'm not any kind of expert in PHP though, so feel free to double check or see if someone who knows a little more responds, but that's how I had mine setup more or less.
 
Thank you very much dudes, and special thanks to akacash, you save me long time! :)
 
Back
Top