Lines Matching refs:_string_shift

1452 … $this->_string_shift($response, 1); // skip past the message number (it should be SSH_MSG_KEXINIT)
1453 $server_cookie = $this->_string_shift($response, 16);
1458 $temp = unpack('Nlength', $this->_string_shift($response, 4));
1459 $this->kex_algorithms = explode(',', $this->_string_shift($response, $temp['length']));
1464 $temp = unpack('Nlength', $this->_string_shift($response, 4));
1465 …$this->server_host_key_algorithms = explode(',', $this->_string_shift($response, $temp['length']));
1470 $temp = unpack('Nlength', $this->_string_shift($response, 4));
1471 …$this->encryption_algorithms_client_to_server = explode(',', $this->_string_shift($response, $temp…
1476 $temp = unpack('Nlength', $this->_string_shift($response, 4));
1477 …$this->encryption_algorithms_server_to_client = explode(',', $this->_string_shift($response, $temp…
1482 $temp = unpack('Nlength', $this->_string_shift($response, 4));
1483 …$this->mac_algorithms_client_to_server = explode(',', $this->_string_shift($response, $temp['lengt…
1488 $temp = unpack('Nlength', $this->_string_shift($response, 4));
1489 …$this->mac_algorithms_server_to_client = explode(',', $this->_string_shift($response, $temp['lengt…
1494 $temp = unpack('Nlength', $this->_string_shift($response, 4));
1495 …$this->compression_algorithms_client_to_server = explode(',', $this->_string_shift($response, $tem…
1500 $temp = unpack('Nlength', $this->_string_shift($response, 4));
1501 …$this->compression_algorithms_server_to_client = explode(',', $this->_string_shift($response, $tem…
1506 $temp = unpack('Nlength', $this->_string_shift($response, 4));
1507 …$this->languages_client_to_server = explode(',', $this->_string_shift($response, $temp['length']));
1512 $temp = unpack('Nlength', $this->_string_shift($response, 4));
1513 …$this->languages_server_to_client = explode(',', $this->_string_shift($response, $temp['length']));
1518 extract(unpack('Cfirst_kex_packet_follows', $this->_string_shift($response, 1)));
1608 extract(unpack('Ctype', $this->_string_shift($response, 1)));
1618 extract(unpack('NprimeLength', $this->_string_shift($response, 4)));
1619 $primeBytes = $this->_string_shift($response, $primeLength);
1625 extract(unpack('NgLength', $this->_string_shift($response, 4)));
1626 $gBytes = $this->_string_shift($response, $gLength);
1719 extract(unpack('Ctype', $this->_string_shift($response, 1)));
1736 $temp = unpack('Nlength', $this->_string_shift($response, 4));
1737 …$this->server_public_host_key = $server_public_host_key = $this->_string_shift($response, $temp['l…
1742 $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4));
1743 $public_key_format = $this->_string_shift($server_public_host_key, $temp['length']);
1748 $temp = unpack('Nlength', $this->_string_shift($response, 4));
1749 $fBytes = $this->_string_shift($response, $temp['length']);
1754 $temp = unpack('Nlength', $this->_string_shift($response, 4));
1755 $this->signature = $this->_string_shift($response, $temp['length']);
1760 $temp = unpack('Nlength', $this->_string_shift($this->signature, 4));
1761 $this->signature_format = $this->_string_shift($this->signature, $temp['length']);
1851 extract(unpack('Ctype', $this->_string_shift($response, 1)));
2219 extract(unpack('Ctype', $this->_string_shift($response, 1)));
2272 extract(unpack('Ctype', $this->_string_shift($response, 1)));
2331 extract(unpack('Ctype', $this->_string_shift($response, 1)));
2339 extract(unpack('Nlength', $this->_string_shift($response, 4)));
2340 …$this->errors[] = 'SSH_MSG_USERAUTH_PASSWD_CHANGEREQ: ' . $this->_string_shift($response, $length);
2348 extract(unpack('Nlength', $this->_string_shift($response, 4)));
2349 $auth_methods = explode(',', $this->_string_shift($response, $length));
2353 extract(unpack('Cpartial_success', $this->_string_shift($response, 1)));
2430 extract(unpack('Ctype', $this->_string_shift($response, 1)));
2437 extract(unpack('Nlength', $this->_string_shift($response, 4)));
2438 $this->_string_shift($response, $length); // name; may be empty
2442 extract(unpack('Nlength', $this->_string_shift($response, 4)));
2443 $this->_string_shift($response, $length); // instruction; may be empty
2447 extract(unpack('Nlength', $this->_string_shift($response, 4)));
2448 $this->_string_shift($response, $length); // language tag; may be empty
2452 extract(unpack('Nnum_prompts', $this->_string_shift($response, 4)));
2469 extract(unpack('Nlength', $this->_string_shift($response, 4)));
2471 $prompt = $this->_string_shift($response, $length);
2623 extract(unpack('Ctype', $this->_string_shift($response, 1)));
2630 extract(unpack('Nlength', $this->_string_shift($response, 4)));
2631 … $this->errors[] = 'SSH_MSG_USERAUTH_FAILURE: ' . $this->_string_shift($response, $length);
2667 extract(unpack('Ctype', $this->_string_shift($response, 1)));
2808 list(, $type) = unpack('C', $this->_string_shift($response, 1));
3036 return $this->_string_shift($this->interactiveBuffer, $pos + strlen($match));
3041 …return $response ? $this->_string_shift($this->interactiveBuffer, strlen($this->interactiveBuffer)…
3390 extract(unpack('Npacket_length/Cpadding_length', $this->_string_shift($raw, 5)));
3424 $payload = $this->_string_shift($raw, $packet_length - $padding_length - 1);
3425 $padding = $this->_string_shift($raw, $padding_length); // should leave $raw empty
3470 $this->_string_shift($payload, 1);
3474 extract(unpack('Nreason_code/Nlength', $this->_string_shift($payload, 8)));
3475 …ONNECT: ' . $this->disconnect_reasons[$reason_code] . "\r\n" . $this->_string_shift($payload, $len…
3482 $this->_string_shift($payload, 2);
3486 extract(unpack('Nlength', $this->_string_shift($payload, 4)));
3487 $this->errors[] = 'SSH_MSG_DEBUG: ' . $this->_string_shift($payload, $length);
3505 $this->_string_shift($payload, 1);
3509 extract(unpack('Nlength', $this->_string_shift($payload, 4)));
3510 $this->banner_message = $this->_string_shift($payload, $length);
3542 extract(unpack('Nlength', $this->_string_shift($payload, 4)));
3543 … $this->errors[] = 'SSH_MSG_GLOBAL_REQUEST: ' . $this->_string_shift($payload, $length);
3552 $this->_string_shift($payload, 1);
3556 extract(unpack('Nlength', $this->_string_shift($payload, 4)));
3557 $data = $this->_string_shift($payload, $length);
3561 extract(unpack('Nserver_channel', $this->_string_shift($payload, 4)));
3571 … extract(unpack('Nremote_window_size', $this->_string_shift($payload, 4)));
3572 … extract(unpack('Nremote_maximum_packet_size', $this->_string_shift($payload, 4)));
3615 $this->_string_shift($payload, 1);
3619 extract(unpack('Nchannel', $this->_string_shift($payload, 4)));
3620 extract(unpack('Nwindow_size', $this->_string_shift($payload, 4)));
3745 extract(unpack('Ctype', $this->_string_shift($response, 1)));
3751 extract(unpack('Nlength', $this->_string_shift($response, 4)));
3753 extract(unpack('Nchannel', $this->_string_shift($response, 4)));
3782 … extract(unpack('Ndata_type_code/Nlength', $this->_string_shift($response, 8)));
3783 $data = $this->_string_shift($response, $length);
3804 extract(unpack('Nlength', $this->_string_shift($response, 4)));
3805 $value = $this->_string_shift($response, $length);
3808 $this->_string_shift($response, 1);
3812 extract(unpack('Nlength', $this->_string_shift($response, 4)));
3813 …$this->errors[] = 'SSH_MSG_CHANNEL_REQUEST (exit-signal): ' . $this->_string_shift($response, $len…
3814 $this->_string_shift($response, 1);
3818 extract(unpack('Nlength', $this->_string_shift($response, 4)));
3820 … $this->errors[count($this->errors)].= "\r\n" . $this->_string_shift($response, $length);
3833 … extract(unpack('Cfalse/Nexit_status', $this->_string_shift($response, 5)));
3854 … extract(unpack('Nserver_channel', $this->_string_shift($response, 4)));
3859 extract(unpack('Nwindow_size', $this->_string_shift($response, 4)));
3868 … $temp = unpack('Npacket_size_client_to_server', $this->_string_shift($response, 4));
3924 extract(unpack('Nlength', $this->_string_shift($response, 4)));
3925 $data = $this->_string_shift($response, $length);
4040 $this->_string_shift($message);
4133 $temp = $this->_string_shift($data, $max_size);
4224 function _string_shift(&$string, $index = 1) function in phpseclib\\Net\\SSH2
4298 $fragment = $this->_string_shift($current_log, $this->log_short_width);
4872 extract(unpack('Nlength', $this->_string_shift($server_public_host_key, 4)));
4873 $this->_string_shift($server_public_host_key, $length);
4890 $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4));
4891 … $p = new BigInteger($this->_string_shift($server_public_host_key, $temp['length']), -256);
4896 $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4));
4897 … $q = new BigInteger($this->_string_shift($server_public_host_key, $temp['length']), -256);
4902 $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4));
4903 … $g = new BigInteger($this->_string_shift($server_public_host_key, $temp['length']), -256);
4908 $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4));
4909 … $y = new BigInteger($this->_string_shift($server_public_host_key, $temp['length']), -256);
4914 $temp = unpack('Nlength', $this->_string_shift($signature, 4));
4920 $r = new BigInteger($this->_string_shift($signature, 20), 256);
4921 $s = new BigInteger($this->_string_shift($signature, 20), 256);
4959 $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4));
4960 … $e = new BigInteger($this->_string_shift($server_public_host_key, $temp['length']), -256);
4965 $temp = unpack('Nlength', $this->_string_shift($server_public_host_key, 4));
4966 $rawN = $this->_string_shift($server_public_host_key, $temp['length']);
5002 $temp = unpack('Nlength', $this->_string_shift($signature, 4));
5003 $s = new BigInteger($this->_string_shift($signature, $temp['length']), 256);