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

Newbie Question - Proxy Detection

Discussion in 'Black Hat SEO' started by Cash1t, Aug 17, 2012.

  1. Cash1t

    Cash1t Registered Member

    Joined:
    May 27, 2009
    Messages:
    78
    Likes Received:
    36
    I have read and found that proxies are detected by info in the transmission header and also by java (?) Is there a way to determine if a site is attempting to detect proxy use or is it common with most sites? I have seen sites that say enter your proxy or come here using your proxy and we will tell you if it's anonymous but to me that's a trick. Is there a method to discover if my proxy is truly anonymous with giving up that I am using one and what it is?
     
  2. BlueZero

    BlueZero Power Member

    Joined:
    Jul 6, 2011
    Messages:
    500
    Likes Received:
    257
    Occupation:
    Webdeveloper, Project Manager
    Location:
    Byte in the Net
    Home Page:
    Place this php code on your server.
    When Proxy is empty, then you are fine.

    Code:
    if ( isset( $_SERVER['HTTP_X_FORWARDED_FOR'] ) && $_SERVER['HTTP_X_FORWARDED_FOR'] != '')
    		{ 
     	   $sIP = $_SERVER['HTTP_X_FORWARDED_FOR']; 
     	   $sProxy = $_SERVER['REMOTE_ADDR']; 
     	   $sHost = @gethostbyaddr($_SERVER['HTTP_X_FORWARDED_FOR']); 
    		}
    		elseif ( isset( $_SERVER['REMOTE_ADDR'] ) )
    		{ 
     	   $sIP = $_SERVER['REMOTE_ADDR']; 
     	   $sHost = @gethostbyaddr($_SERVER['REMOTE_ADDR']); 
     	}
    echo 'IP:'.$sIP.'<br/>';
    echo 'Proxy:'.$sProxy.'<br/>';
    echo 'Host:'.$sHost.'<br />';
    
     
    • Thanks Thanks x 2
  3. Cash1t

    Cash1t Registered Member

    Joined:
    May 27, 2009
    Messages:
    78
    Likes Received:
    36
    BlueZero, Thanks. I should have explained better. I am not running my own server I am using an "Anonymous" proxy service.
     
  4. JaredOnTop

    JaredOnTop Junior Member

    Joined:
    May 11, 2011
    Messages:
    102
    Likes Received:
    105
    @BlueZero, thanks for posting this! Very useful.

    @Cash1t, get a free host and upload blue's code. Visit the site with your proxy enabled.


    Sent from my DROID BIONIC
     
  5. Cash1t

    Cash1t Registered Member

    Joined:
    May 27, 2009
    Messages:
    78
    Likes Received:
    36
    JaredOnTop - Thanks for the assist. I got it now.
     
  6. kvmcable

    kvmcable Supreme Member

    Joined:
    Dec 28, 2010
    Messages:
    1,355
    Likes Received:
    2,815
    Occupation:
    24 year business owner - old school dude
    Location:
    KFC - BW3