Add AES-256-CBC cipher option for legacy mode

This commit is contained in:
ergosteur
2025-11-19 02:25:27 -05:00
committed by GitHub
parent 652aee80e1
commit 17c6eefddf

View File

@@ -142,7 +142,7 @@ REM ============================================================================
echo. echo.
SET /P "LEGACY_CHOICE=Enable legacy mode for old devices? (y/N): " SET /P "LEGACY_CHOICE=Enable legacy mode for old devices? (y/N): "
IF /I "!LEGACY_CHOICE!"=="Y" ( IF /I "!LEGACY_CHOICE!"=="Y" (
SET "LegacyOpts=-o KexAlgorithms=+diffie-hellman-group1-sha1,diffie-hellman-group14-sha1 -o HostKeyAlgorithms=+ssh-rsa -o MACs=+hmac-sha1,hmac-sha1-96" SET "LegacyOpts=-o KexAlgorithms=+diffie-hellman-group1-sha1,diffie-hellman-group14-sha1 -o HostKeyAlgorithms=+ssh-rsa -o MACs=+hmac-sha1,hmac-sha1-96 -o ciphers=+aes256-cbc"
echo. echo.
echo [!] Legacy mode enabled. Insecure algorithms will be offered. echo [!] Legacy mode enabled. Insecure algorithms will be offered.
) )