1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-02 17:52:59 +01:00

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 = '-> ' . $temp .
' (' . round($stop - $start, 4) . 's)';
$this->_append_log($temp, $data);
$this->_append_log($temp, $orig);
}
return $result;
@ -1505,4 +1505,4 @@ class Net_SSH1 {
fputs($this->realtime_log_file, $entry);
}
}
}
}