👾PAC Tempering
Theory
Proxy Auto Config
A Proxy Auto-Configuration (PAC) file is a JavaScript function that determines if web browser requests go directly to the destination or are forwarded to a web proxy server. The PAC file contains a function called FindProxyForURL(url, host), which returns a string with one or more access methods. This function instructs a browser to forward traffic to a proxy server instead of directly to the destination server.
Some providers may offer a PAC web address, which enables auto proxy settings. However, in most cases, you'll need to change proxy settings manually. For example, a Google Chrome Android proxy works automatically.
Practical
PAC Tempering
Metasploit
Exploitation Phase
Post Exploitation Phase
Note: You have to move the proxy.pac to /var/www/html
REFERENCES
Last updated