fullmetalcache / PowerLine

301 stars 65 forks source link

Added proxy awareness for building #5

Closed leoloobeek closed 7 years ago

leoloobeek commented 7 years ago

The System.Net.WebClient can use the logged on user's credentials on the system to authenticate to the proxy. Empire uses this in its PowerShell launcher. I just threw it in so if building on a remote system we can authetnicate to pull down remote scripts over the proxy.

You could also set credentials to authenticate to the proxy but you obviously need to include command line switches for the build script, so I didn't include.

Cool project, interested to try during an assessment.

fullmetalcache commented 7 years ago

Dude, awesome! Thanks for the quick submit on that! I will merge it in.

Agreed on the command-line arguments. I had added in the Nuget CommandLineParser package as you could probably see but took it out for now since it ups the min .NET version to 4. Just need to find something else.

Also, I'm sure you can see the code is still very much in development stage. Should probably start documenting and cleaning it up next...probably... =)

Thanks again!