mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 19:40:28 +00:00
SSH2: rm extra_packets in a few more places
This commit is contained in:
parent
e81fd6899b
commit
f5113e1352
@ -3869,11 +3869,9 @@ class SSH2
|
|||||||
case NET_SSH2_MSG_DISCONNECT:
|
case NET_SSH2_MSG_DISCONNECT:
|
||||||
return $this->handleDisconnect($payload);
|
return $this->handleDisconnect($payload);
|
||||||
case NET_SSH2_MSG_IGNORE:
|
case NET_SSH2_MSG_IGNORE:
|
||||||
$this->extra_packets++;
|
|
||||||
$payload = $this->get_binary_packet();
|
$payload = $this->get_binary_packet();
|
||||||
break;
|
break;
|
||||||
case NET_SSH2_MSG_DEBUG:
|
case NET_SSH2_MSG_DEBUG:
|
||||||
$this->extra_packets++;
|
|
||||||
Strings::shift($payload, 2); // second byte is "always_display"
|
Strings::shift($payload, 2); // second byte is "always_display"
|
||||||
list($message) = Strings::unpackSSH2('s', $payload);
|
list($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