samratashok/nishang — pull request #1 by veritysr (2014-08-06 17:44:09+00:00)
Title: “Proposed Reliability Update for Download_Execute”

Hi,

Great work! Stumbled on this project from your DefCON slides.

I've not had great luck using System.Net.WebClient in an enterprise where an authenticating web gateway is involved; ends up resulting in an HTTP 407 (Proxy Authentication Required) failure from my expericence. Tried using [System.New.WebRequest]::DefaultWebProxy with [System.Net.CredentialCache]::DefaultNetworkCredentials to no avail.

Using an InternetExplorer.Application COM object has been pretty reliable for me.