From 0529beddc1095fa4376be7f4df54323453b7afc6 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(+) (limited to 'src/usr/local') 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