SSH1: Packets shown in log were encrypted

This commit is contained in:
terrafrost 2013-01-09 22:54:11 -06:00
parent d741def23c
commit b1c96faf90

View File

@ -1068,7 +1068,7 @@ class Net_SSH1 {
$temp = isset($this->protocol_flags[ord($orig[0])]) ? $this->protocol_flags[ord($orig[0])] : 'UNKNOWN'; $temp = isset($this->protocol_flags[ord($orig[0])]) ? $this->protocol_flags[ord($orig[0])] : 'UNKNOWN';
$temp = '-> ' . $temp . $temp = '-> ' . $temp .
' (' . round($stop - $start, 4) . 's)'; ' (' . round($stop - $start, 4) . 's)';
$this->_append_log($temp, $data); $this->_append_log($temp, $orig);
} }
return $result; return $result;