Skip to content

Instantly share code, notes, and snippets.

@uurtech
Created January 26, 2024 07:18
Show Gist options
  • Save uurtech/8cbbc4649b87fb90165adab98afb9638 to your computer and use it in GitHub Desktop.
Save uurtech/8cbbc4649b87fb90165adab98afb9638 to your computer and use it in GitHub Desktop.
beanstalk windows birthday attack fix
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