krmaxwell / maltrieve

A tool to retrieve malware directly from the source for security researchers.
GNU General Public License v3.0
563 stars 183 forks source link

Feature Request: Proxy Credentials #155

Closed mlawsonis closed 9 years ago

mlawsonis commented 9 years ago

Configuration for optional use of User Name and Password for proxy authentication.

Thank you for all the work you've done.

krmaxwell commented 9 years ago

As long as it's Basic Auth, this is definitely doable. If you need Digest Auth for the proxy, that will take a bit more work.

krmaxwell commented 9 years ago

So it looks like we should already support this because we use Requests:

To use HTTP Basic Auth with your proxy, use the http://user:password@host/ syntax:

proxies = {
    "http": "http://user:pass@10.10.1.10:3128/",
}

I will note this in the documentation, though!