title: Get windows proxy username/password
body: <p>I have an access to a preconfigured Windows XP 32-bit workstation.
  It's under firewall and to get outside it uses http proxy server.
  To get proxy settings I need host, port, username and password.</p>
  
  <blockquote>
    <p>http: // username : password @ server : port</p>
  </blockquote>
  
  <p>I'm able to find the proxy url and port (from PAC - automatic config file), 
  but I don't know how to get username/password. Is there a way to read it somehow? At least username? I might get the admin rights.</p>
  
  <p>Do you know any tool that can help?</p>
  
  <p>I only found these MS docs about some methods to get proxy config connection, but I don't know how to determinate what's the provided credentials:</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/aa384096%28VS.85%29.aspx" rel="noreferrer">WinHttpGetIEProxyConfigForCurrentUser function</a></p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/aa384250%28v=vs.85%29.aspx" rel="noreferrer">WINHTTP_CURRENT_USER_IE_PROXY_CONFIG structure</a></p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/aa384097%28v=vs.85%29.aspx" rel="noreferrer">WinHttpGetProxyForUrl function</a></p>
  
  <p>I've also found this lib, but it's rather for parsing PAC:
  <a href="http://code.google.com/p/pacparser/" rel="noreferrer">http://code.google.com/p/pacparser/</a></p>