rapid7/metasploit-framework — pull request #2592 by OJ (2013-10-30 08:47:40+00:00)
Title: Add `getproxy` command

On Windows systems there is a system proxy setting that is exposed by IE and Chrome. This commit adds a `getproxy` command to `stdapi` which pulls out the details of the proxy settings for the current user.

Sample test run without proxy settings:

```
meterpreter > getproxy
Auto-detect : No
Auto config URL :
Proxy URL :
Proxy Bypass :
```

Sample test run with all proxy settings configured:
```
meterpreter > getproxy
Auto-detect : Yes
Auto config URL : http://baz:8080/foo.pac
Proxy URL : foo:80
Proxy Bypass : test;testagain;
```

This command is not supported on POSIX.

The meterpreter side of this PR is https://github.com/rapid7/meterpreter/pull/43