Software PAC syntax check for Windows PAC script parsing

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.