Reference Documentation:
Https://zhuanlan.zhihu.com/p/22166179?refer=barretlee
Https://github.com/pacparser/pacparser
Https://community.mcafee.com/thread/47557?tstart=0
Dynamic online Check page test I:
Http://home.thorsen.pm/proxyforurl
Installation Procedure Reference:
Environment (centos6.7 python environment default 2.6 2.7 is available)
Https://github.com/pacparser/pacparser
Approximate process
CD root
git clone https://github.com/pacparser/pacparser.git
CD pacparser/
\make-c SRC
\make-c src Install
Possible error:
Execute command
# Pactester
Pactester:error while loading shared libraries:libpacparser.so.1:cannot open Shared object file:no such file or direct Ory
Workaround:
Cd/root/pacparser
CP./src/libpacparser.so.1/usr/lib64/
Result: command can perform print version
# pactester-v
1.3.7rc6-28-gdb3473d
Use:
1 Checking PAC script
2 Check PAC's Forwarding path for host domain name use
# pactester-p Proxy.pac-u http://www.baidu.com
PROXY 10.1.81.241:8080
This article is from the "Remnant Sword" blog, please be sure to keep this source http://cuidehua.blog.51cto.com/5449828/1966945
Software PAC syntax check for Windows PAC script parsing