diff options
author | jim-p <jimp@pfsense.org> | 2016-06-01 08:09:35 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-06-01 08:09:58 -0400 |
commit | 0529beddc1095fa4376be7f4df54323453b7afc6 (patch) | |
tree | 5cb5826fc017a2c4533034f6f885f1a49ed9b402 /src/usr/local | |
parent | 92323161d44be5140dc0f7cd38bddc6d410ffe37 (diff) | |
download | pfsense-0529beddc1095fa4376be7f4df54323453b7afc6.zip pfsense-0529beddc1095fa4376be7f4df54323453b7afc6.tar.gz |
Mask a few more sensitive bits of data in the status.php config.
Diffstat (limited to 'src/usr/local')
-rwxr-xr-x | src/usr/local/www/status.php | 6 |
1 files changed, 6 insertions, 0 deletions
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>.*?<\\/authorizedkeys>/", "<authorizedkeys>xxxxx</authorizedkeys>", $line); $line = preg_replace("/<bcrypt-hash>.*?<\\/bcrypt-hash>/", "<bcrypt-hash>xxxxx</bcrypt-hash>", $line); $line = preg_replace("/<password>.*?<\\/password>/", "<password>xxxxx</password>", $line); + $line = preg_replace("/<auth_user>.*?<\\/auth_user>/", "<auth_user>xxxxx</auth_user>", $line); + $line = preg_replace("/<auth_pass>.*?<\\/auth_pass>/", "<auth_pass>xxxxx</auth_pass>", $line); + $line = preg_replace("/<proxy_user>.*?<\\/proxy_user>/", "<proxy_user>xxxxx</proxy_user>", $line); + $line = preg_replace("/<proxy_passwd>.*?<\\/proxy_passwd>/", "<proxy_passwd>xxxxx</proxy_passwd>", $line); + $line = preg_replace("/<proxyuser>.*?<\\/proxyuser>/", "<proxyuser>xxxxx</proxyuser>", $line); + $line = preg_replace("/<proxypass>.*?<\\/proxypass>/", "<proxypass>xxxxx</proxypass>", $line); $line = preg_replace("/<pre-shared-key>.*?<\\/pre-shared-key>/", "<pre-shared-key>xxxxx</pre-shared-key>", $line); $line = preg_replace("/<rocommunity>.*?<\\/rocommunity>/", "<rocommunity>xxxxx</rocommunity>", $line); $line = preg_replace("/<prv>.*?<\\/prv>/", "<prv>xxxxx</prv>", $line); |