Hotlinking in phproxy

Discussion in 'Apache' started by xxsAm, Aug 9, 2007.

  1. #1
    Alright first of all I will post the version I'm using.
    Script | PHProxy
    Author | Abdullah Arif
    Last Modified | 5:27 PM 1/20/2007


    This is what resides at the top of index.php:
    $_config = array
    (
    'url_var_name' => 'q',
    'flags_var_name' => 'hl',
    'get_form_name' => '____pgfa',
    'basic_auth_var_name' => '____pbavn',
    'max_file_size' => 65536,
    'allow_hotlinking' => 0,
    'upon_hotlink' => 1,
    'compress_output' => 0
    );


    I've been wondering what was sucking up 200GB a day and come to find out all it took was me using the following code and image hotlinking worked:
    <img src="http://www.sellchat.com/index.php?q=aHR0cDovL2NyZWF0aXZlLm15c3BhY2UuY29tL2Ntcy9TcGxhc2gvTXlTcGFjZV9NdXNpYy9DQS8xMTB4MTEwX2FpaDIuanBn">

    How can I stop this immediately? I read somewhere that hotlink protection does not work if the url is scrambled. How can i turn off url scrambling?
     
    xxsAm, Aug 9, 2007 IP