From fea0805e71d8bff47c6cd1087a50a9ce9bb9089e Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 1 Jun 2016 08:09:35 -0400 Subject: Mask a few more sensitive bits of data in the status.php config. --- src/usr/local/www/status.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/usr/local/www/status.php b/src/usr/local/www/status.php index e2708c4..5431e54 100755 --- a/src/usr/local/www/status.php +++ b/src/usr/local/www/status.php @@ -109,6 +109,12 @@ function doCmdT($title, $command) { $line = preg_replace("/.*?<\\/authorizedkeys>/", "xxxxx", $line); $line = preg_replace("/.*?<\\/bcrypt-hash>/", "xxxxx", $line); $line = preg_replace("/.*?<\\/password>/", "xxxxx", $line); + $line = preg_replace("/.*?<\\/auth_user>/", "xxxxx", $line); + $line = preg_replace("/.*?<\\/auth_pass>/", "xxxxx", $line); + $line = preg_replace("/.*?<\\/proxy_user>/", "xxxxx", $line); + $line = preg_replace("/.*?<\\/proxy_passwd>/", "xxxxx", $line); + $line = preg_replace("/.*?<\\/proxyuser>/", "xxxxx", $line); + $line = preg_replace("/.*?<\\/proxypass>/", "xxxxx", $line); $line = preg_replace("/.*?<\\/pre-shared-key>/", "xxxxx", $line); $line = preg_replace("/.*?<\\/rocommunity>/", "xxxxx", $line); $line = preg_replace("/.*?<\\/prv>/", "xxxxx", $line); -- cgit v1.1