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:
parent
d741def23c
commit
b1c96faf90
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user