1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Proxy testing

Discussion in 'General Programming Chat' started by Sheraf, Feb 8, 2016.

  1. Sheraf

    Sheraf Registered Member

    Jan 19, 2014
    Likes Received:

    Here is what i do to know the level of a proxy:
    #: grab your own IP ( http://curlmyip.de/ )
    #: have a phpinfo.php page to query ( http://leserged.online.fr/phpinfo.php )

    1: query the phpinfo page using the proxy you want to check
    2: check for footprint, example: "phpinfo()" if this footprint isn't in the response, it means the proxy isn't even return the right page, it's garbage
    3: check if your real IP is in the response, if it is, then the proxy is transparent.
    4: if your your real IP is not in the response, then you at least have an anonymous proxy
    5: now, to know if it's elite or anonymous, you need to check for special headers that the proxy server would add to your query, here is a small list you can check for: "VIA", "FORWARDED", "CLIENT_IP", if one these headers is in the response of phpinfo(), then it's anonymous, if you don't find any you may have found an elite proxy :)

    If you guys have other methods, i'd like to hear them!
    • Thanks Thanks x 1
  2. MuayThai

    MuayThai Jr. VIP Jr. VIP

    Aug 25, 2015
    Likes Received:
    The method above has a right to life.
  3. seeplusplus

    seeplusplus Power Member

    Aug 18, 2008
    Likes Received:
    This is a useful post, thank you.