From b1c96faf90da584ccb64921da169b85731234ee6 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Wed, 9 Jan 2013 22:54:11 -0600 Subject: [PATCH] SSH1: Packets shown in log were encrypted --- phpseclib/Net/SSH1.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpseclib/Net/SSH1.php b/phpseclib/Net/SSH1.php index 1da44ec7..7cdccad0 100644 --- a/phpseclib/Net/SSH1.php +++ b/phpseclib/Net/SSH1.php @@ -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); } } -} +} \ No newline at end of file