pactester(1)
π pactester(1) β the manual, but make it cute π
okay bestie, sit down, hydrate, because today we're talking about pactester, and honestly? she's iconic. this is the pactester(1) page, so likeβ¦ congrats, you're exactly where you need to be. π
β¨ NAME β¨
pactester β a tool to test proxy auto-config (pac) files. periodt. that's the whole girl. π¦
πΈ SYNOPSIS πΈ
pactester <-p pacfile> <-u url> [-h host] [-c client_ip] [-e]
pactester <-p pacfile> <-f urlslist> [-c client_ip] [-e]
π DESCRIPTION π
so pactester is a tool to test proxy auto-config (pac) files. what does that mean bestie? it means: you hand her a URL and a pac file, and she hands you back the proxy config string for that URL. that's it. that's the vibe. β¨
and the tea? pactester uses the pacparser C library for most of its functionality. she's not doing this alone, she's got a whole library holding her up. we love a collaborative queen. π
π OPTIONS π
-ppacfile β the PAC file you wanna test. and listen: specify-and she reads from the standard input instead. stdin girlies rise up. π-uurl β the URL you want to test the PAC file for. that's the whole point, fr fr. π-hhost β the host part of the URL. if you don't specify it, it's determined from the URL. she'll figure it out herself, she's smart like that. π§-cclient_ip β the client's IP address (as returned by the functionmyIpAddress()in PAC files). if you don't specify it, it defaults to the IP address of the machine on which this tool is running. main character = your machine, lowkey. π-eβ enable Microsoft PAC extensions (dnsResolveEx,myIpAddressEx,isResolvableEx). fancy! corporate! microsoft-flavored! π-furlslist β a file containing the list of URLs to be tested. this is good for testing a PAC file against a set of URLs. bulk testing era, no cap. π₯
β EXAMPLES β
wanna find out the proxy config string for the pac file "wpad.dat" and the URL "http://www.google.com"? say less:
$ pactester -p wpad.dat -u http://www.google.com
doing it for a client with IP address 10.0.12.123? yes bestie, we love a specific IP:
$ pactester -p wpad.dat -c 10.0.12.123 -u http://www.google.com
and for a pac file hosted at http://wpad/wpad.dat? pipe that curl straight into her, chef's kiss:
$ curl -s http://wpad/wpad.dat | pactester -p - -u http://google.com
π BUGS π
if you have come across a bug in pactester, please submit a bug report at http://github.com/manugarg/pacparser/issues.
not me asking you to file an issue, but likeβ¦ also yes, please file an issue. she can't fix what she doesn't know about, bestie. π
π AUTHOR π
Written by Manu Garg (http://www.manugarg.com). absolute legend behavior.
π«Ά RESOURCES π«Ά
- Homepage:
http://github.com/manugarg/pacparser.
and that's the whole page, bestie. this was the pactester(1) manual β go test some pac files, you're gonna slay. iykyk. πβ¨ππ¦πΈπ
π«Ά
π¦ where this page comes from
- arch rolling: pacparser 1.5.3-1 Β· LGPL-3.0-or-later
- nixos 26.05: pacparser 1.5.1
- nixpkgs unstable: pacparser 1.5.3
- ubuntu stonking: libpacparser1 1.5.1-1 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms