$this->_string_shift -> Strings::shift

This commit is contained in:
terrafrost 2017-11-13 09:27:11 -06:00 committed by GitHub
parent e91da39098
commit 3065d24b0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3641,7 +3641,7 @@ class SSH2
if (strlen($response) < 8) {
return false;
}
extract(unpack('Ndata_type_code/Nlength', $this->_string_shift($response, 8)));
extract(unpack('Ndata_type_code/Nlength', Strings::shift($response, 8)));
$data = Strings::shift($response, $length);
$this->stdErrorLog.= $data;
if ($skip_extended || $this->quiet_mode) {