mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-07-21 21:21:45 +02:00
Relax STARTTLS FTP requirement
In rare? occassions where the STARTTLS FEAT request only displays AUTH instead of AUTH TLS, testssl.sh fails as it cannot upgrade to TLS. Required by RFC 4217 is only AUTH ("MUST"), AUTH TLS is optional ("should"), see section 6. This commit relaxes the presence of TLS after AUTH and it fixes #2132.
This commit is contained in:
@ -11044,7 +11044,7 @@ starttls_full_read(){
|
||||
|
||||
starttls_ftp_dialog() {
|
||||
local -i ret=0
|
||||
local reSTARTTLS='^ AUTH TLS'
|
||||
local reSTARTTLS='^ AUTH'
|
||||
|
||||
debugme echo "=== starting ftp STARTTLS dialog ==="
|
||||
starttls_full_read '^220-' '^220 ' '' "received server greeting" &&
|
||||
|
Reference in New Issue
Block a user