Handle SSH servers that send success response out of spec order

This commit is contained in:
Zane H 2022-04-22 18:12:38 -06:00 committed by GitHub
parent f57f5debe0
commit 810919ca66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -4028,6 +4028,7 @@ class SSH2
}
// fall-through
case MessageType::CHANNEL_EOF:
case MessageType::CHANNEL_SUCCESS:
break;
default:
$this->disconnect_helper(DisconnectReason::BY_APPLICATION);