Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find proxy server and password from .pac file

Tags:

proxy

pac

I am using dynatrace ajax edition and it requires an proxy server and password to connect to dynatrace server.

The problem is I ONLY have the .pac file URL that we use at work.

Is it possible to know which proxy server and port my requests resolve to so that I can provide the proxy server name and password directly?

I have checked few links in the stackoverflow community but they do not seem to answer this question.

Like: How to discover de proxy used in a pac

I am using an windows 7 64 bit system with IE8.

Thanks, Ayusman

like image 500
Ayusman Avatar asked May 09 '12 00:05

Ayusman


People also ask

How do I find proxy address from .PAC file?

PAC file addresses can be located on the Web > General page and on the General tab of a policy. In both locations, a default and alternate address is listed. Default PAC file address: the PAC file is retrieved over port 8082 by default, or 8087 for HTTPS.

How do I open a proxy PAC file?

PAC files are typically hosted on a web server and are named proxy. pac. Since PAC files contain the configuration in plain text. You can use a text editor, such as Microsoft Notepad or Apple TextEdit to view or modify the files.


2 Answers

After trolling through some more google search results,

This nifty tool helped me perfectly

Please note that I was on a 64 bit windows 7 machine, still it worked fine.

like image 93
Ayusman Avatar answered Oct 19 '22 00:10

Ayusman


Hit the URL in the address bar of the browser. It should download the file. Open the file with any text editor. Looking at the content of the file, you can easily find out the proxy IP/port being used. This worked for me. Hope it helps others too.

like image 33
shanti Avatar answered Oct 19 '22 00:10

shanti