Created
January 26, 2024 07:18
-
-
Save uurtech/8cbbc4649b87fb90165adab98afb9638 to your computer and use it in GitHub Desktop.
beanstalk windows birthday attack fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
files: | |
"c:\\temp\\update_script.ps1": | |
content: | | |
$WeakCipherSuites = @( | |
"DES", | |
"IDEA", | |
"RC" | |
) | |
Foreach($WeakCipherSuite in $WeakCipherSuites){ | |
$CipherSuites = Get-TlsCipherSuite -Name $WeakCipherSuite | |
if($CipherSuites){ | |
Foreach($CipherSuite in $CipherSuites){ | |
Disable-TlsCipherSuite -Name $($CipherSuite.Name) | |
} | |
} | |
} | |
commands: | |
update_library: | |
command: powershell.exe -ExecutionPolicy Bypass -File c:\\temp\\update_script.ps1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment