Merge branch '3.0'

This commit is contained in:
terrafrost 2022-05-04 01:19:12 -05:00
commit f21681bee8

View File

@ -2347,7 +2347,9 @@ class SSH2
$this->send_binary_packet($packet, $logged);
$response = $this->get_binary_packet();
if ($response === false) {
return false;
}
list($type) = Strings::unpackSSH2('C', $response);
switch ($type) {
case MessageTypeExtra::USERAUTH_PASSWD_CHANGEREQ: // in theory, the password can be changed