title: Get proxy address on 'Auto Proxy Discovery' mode on Mac OS X
body: <p>I am using Mac OS X (Sierra).
  In my network preferences, the proxies settings are not configured manualy, but configured by turn on the 'Auto Proxy Discovery' checkbox.
  <a href="https://i.stack.imgur.com/o095A.png" rel="nofollow noreferrer">Screenshot of network preferences</a></p>
  
  <p>Is there a way to get the address (ip and port) of the current proxy I am working with?</p>
  
  <p>Is it possible to get this information via a command line on the terminal?</p>
  
  <p>(The command 'networksetup -getwebproxy ' not working in this case of Auto Proxy Discovery)</p>