mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 11:37:33 +00:00
Merge branch '3.0'
This commit is contained in:
commit
7070529e79
@ -3539,11 +3539,9 @@ class SSH2
|
|||||||
case MessageType::DISCONNECT:
|
case MessageType::DISCONNECT:
|
||||||
return $this->handleDisconnect($payload);
|
return $this->handleDisconnect($payload);
|
||||||
case MessageType::IGNORE:
|
case MessageType::IGNORE:
|
||||||
$this->extra_packets++;
|
|
||||||
$payload = $this->get_binary_packet();
|
$payload = $this->get_binary_packet();
|
||||||
break;
|
break;
|
||||||
case MessageType::DEBUG:
|
case MessageType::DEBUG:
|
||||||
$this->extra_packets++;
|
|
||||||
Strings::shift($payload, 2); // second byte is "always_display"
|
Strings::shift($payload, 2); // second byte is "always_display"
|
||||||
[$message] = Strings::unpackSSH2('s', $payload);
|
[$message] = Strings::unpackSSH2('s', $payload);
|
||||||
$this->errors[] = "SSH_MSG_DEBUG: $message";
|
$this->errors[] = "SSH_MSG_DEBUG: $message";
|
||||||
|
Loading…
Reference in New Issue
Block a user