From 3065d24b0d16c65bb012f0cd72c79782e421deed Mon Sep 17 00:00:00 2001 From: terrafrost Date: Mon, 13 Nov 2017 09:27:11 -0600 Subject: [PATCH] $this->_string_shift -> Strings::shift --- phpseclib/Net/SSH2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index a779639c..09045b73 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -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) {