保护个人电脑里隐私的安全技巧

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

functionFindProxyForURL(url,host){if(isPlainHostName(host))return'DIRECT';if(!shExpMatch(url,'http*'))return'DIRECT';varip=dnsResolve(host);//nodnsresultif(!ip)return'PROXY127.0.0.1:8083;';//ipv6if(shExpMatch(ip,'*:*'))return'DIRECT';//localelseif(isInNet(ip,'127.0.0.0','255.0.0.0'))return'DIRECT';elseif(isInNet(ip,'10.0.0.0','255.0.0.0'))return'DIRECT';elseif(isInNet(ip,'192.168.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'172.16.0.0','255.240.0.0'))return'DIRECT';elseif(isInNet(ip,'169.254.0.0','255.255.0.0'))return'DIRECT';//videoruleselseif(shExpMatch(url,'*.flv'))return'PROXY'+host+'.local.acc.sogou.com:8081;';elseif(shExpMatch(url,'*.mp4'))return'PROXY'+host+'.local.acc.sogou.com:8081;';elseif(shExpMatch(url,'http:*/flv/*.flv?*&key=*'))return'PROXY'+host+'.local.acc.sogou.com:8081;';elseif(shExpMatch(url,'http:*/mp4/*.f4v?*&key=*'))return'PROXY'+host+'.local.acc.sogou.com:8081;';elseif(shExpMatch(url,'*.flv?start=*'))return'PROXY'+host+'.local.acc.sogou.com:8081;';elseif(shExpMatch(url,'*.mp4?start=*'))return'PROXY'+host+'.local.acc.sogou.com:8081;';elseif(isInNet(ip,'58.154.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'58.192.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'58.194.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'58.196.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'58.198.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'58.200.0.0','255.248.0.0'))return'DIRECT';elseif(isInNet(ip,'59.64.0.0','255.252.0.0'))return'DIRECT';elseif(isInNet(ip,'59.68.0.0','255.252.0.0'))return'DIRECT';elseif(isInNet(ip,'59.72.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'59.74.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'59.76.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'59.77.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'59.78.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'110.64.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'111.114.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'111.116.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'111.186.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'113.54.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'114.212.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'114.214.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'115.24.0.0','255.252.0.0'))return'DIRECT';elseif(isInNet(ip,'115.154.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'115.156.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'115.158.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'116.13.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'116.56.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'118.202.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'118.228.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'118.230.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'120.94.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'120.95.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'121.48.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'121.52.160.0','255.255.224.0'))return'DIRECT';elseif(isInNet(ip,'121.192.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'121.193.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'121.194.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'121.248.0.0','255.252.0.0'))return'DIRECT';elseif(isInNet(ip,'122.204.0.0','255.252.0.0'))return'DIRECT';elseif(isInNet(ip,'125.216.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'125.218.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'125.219.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'125.220.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'125.222.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'162.105.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'166.111.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'175.185.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'175.186.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'180.84.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'180.201.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'180.208.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'183.168.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'183.170.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'183.172.0.0','255.252.0.0'))return'DIRECT';elseif(isInNet(ip,'202.4.128.0','255.255.224.0'))return'DIRECT';elseif(isInNet(ip,'202.38.2.0','255.255.254.0'))return'DIRECT';elseif(isInNet(ip,'202.38.64.0','255.255.224.0'))return'DIRECT';elseif(isInNet(ip,'202.38.96.0','255.255.224.0'))return'DIRECT';elseif(isInNet(ip,'202.38.140.0','255.255.254.0'))return'DIRECT';elseif(isInNet(ip,'202.38.184.0','255.255.248.0'))return'DIRECT';elseif(isInNet(ip,'202.38.192.0','255.255.192.0'))return'DIRECT';elseif(isInNet(ip,'202.112.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'202.113.0.0','255.255.240.0'))return'DIRECT';elseif(isInNet(ip,'202.113.16.0','255.255.240.0'))return'DIRECT';elseif(isInNet(ip,

1 / 93
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功