PoshSec / PoshSecFramework

A framework for PowerShell and PoshSec scripts for network management, security, and maintenance.
BSD 3-Clause "New" or "Revised" License
145 stars 23 forks source link

Can't download new module #30

Closed mwjcomputing closed 6 years ago

mwjcomputing commented 6 years ago

When you go to download a new module (Tools->Options->Modules) and add a module to clone, it doesn't allow you to add as it says it is invalid.

Steps:

  1. Add Module image

  2. Add PowerSploit Repo image

  3. Click Tab

  4. Resulting Window image

What should happen:

  1. It allows you to select the branch
  2. It allows you to click ok.
mwjcomputing commented 6 years ago

I think this is tied to issue #25 .

Good-man commented 6 years ago

Yes, I agree. I think it's a related issue. In general, web requests to GitHub are failing.

image

Good-man commented 6 years ago

Looks like it might be related to this: https://developer.github.com/changes/2018-02-01-weak-crypto-removal-notice/

On Feb 8th, GitHub disabled TLS 1 & 1.1 and a couple of weak diffie hellman ciphers.

I'll see if I can find a solution. Stay tuned.

Good-man commented 6 years ago

OK, found it. Just need to set .NET to use TLS 1.1 or 1.2.

image

Now it works and it should fix any related problems, too.

image

Good-man commented 6 years ago

See pull request #32, set SecurityProtocol to TLS 1.1 or 1.2.