X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=curl-de-sac.git;a=blobdiff_plain;f=web%2FObj%2Fcurl-de-brisk.phh;fp=web%2FObj%2Fcurl-de-brisk.phh;h=c92b0a0d0c92d13aae88adf75bbc5c92a052fea5;hp=881cc237d2b822ca2fc9c5f04b36cd20a90f19d0;hb=bc704c1271602b6011d25237cbe9949f9d391782;hpb=1f342fe1d6ef71c31b255d11b7a83541df9babd1 diff --git a/web/Obj/curl-de-brisk.phh b/web/Obj/curl-de-brisk.phh index 881cc23..c92b0a0 100755 --- a/web/Obj/curl-de-brisk.phh +++ b/web/Obj/curl-de-brisk.phh @@ -186,26 +186,13 @@ class Proxy_chk_cmd_cls extends CDS_cmd_cls { function create($cds, $ctx, $user_idx, $user_sess, $conn_ip, $is_auth, $headers) { if ($cds->dbg_get() > 0) { - printf("'proxy_chk'::create url:[%s]\n", 'PROXY_CHK_URL'); + fprintf(STDERR, "'proxy_chk'::create url:[%s]\n", 'PROXY_CHK_URL'); } foreach($this->scan_headers as $key){ //proxy detected? lets log... if(array_key_exists($key, $headers)) { // we already are behind a PROXY, this are our headers - if ($key == 'X-Proxy-ID') { - if ($headers[$key] == '860705422') - continue; - } - else if ($key == 'X-Forwarded-For') { - if ($headers[$key] == '172.16.9.66') - continue; - } - else if ($key == 'Via') { - if ($headers[$key] == '1.1 172.16.8.1 (Mikrotik HttpProxy)') - continue; - } - proxy_chk_postprocess($ctx, $user_idx, $user_sess, $conn_ip, $is_auth, TRUE); return TRUE; }