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

    Joined:
    Jan 19, 2014
    Messages:
    61
    Likes Received:
    8
    Hi,

    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

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

    seeplusplus Power Member

    Joined:
    Aug 18, 2008
    Messages:
    517
    Likes Received:
    165
    This is a useful post, thank you.