Revision 0529bedd
Added by Jim Pingle about 9 years ago
src/usr/local/www/status.php | ||
---|---|---|
109 | 109 |
$line = preg_replace("/<authorizedkeys>.*?<\\/authorizedkeys>/", "<authorizedkeys>xxxxx</authorizedkeys>", $line); |
110 | 110 |
$line = preg_replace("/<bcrypt-hash>.*?<\\/bcrypt-hash>/", "<bcrypt-hash>xxxxx</bcrypt-hash>", $line); |
111 | 111 |
$line = preg_replace("/<password>.*?<\\/password>/", "<password>xxxxx</password>", $line); |
112 |
$line = preg_replace("/<auth_user>.*?<\\/auth_user>/", "<auth_user>xxxxx</auth_user>", $line); |
|
113 |
$line = preg_replace("/<auth_pass>.*?<\\/auth_pass>/", "<auth_pass>xxxxx</auth_pass>", $line); |
|
114 |
$line = preg_replace("/<proxy_user>.*?<\\/proxy_user>/", "<proxy_user>xxxxx</proxy_user>", $line); |
|
115 |
$line = preg_replace("/<proxy_passwd>.*?<\\/proxy_passwd>/", "<proxy_passwd>xxxxx</proxy_passwd>", $line); |
|
116 |
$line = preg_replace("/<proxyuser>.*?<\\/proxyuser>/", "<proxyuser>xxxxx</proxyuser>", $line); |
|
117 |
$line = preg_replace("/<proxypass>.*?<\\/proxypass>/", "<proxypass>xxxxx</proxypass>", $line); |
|
112 | 118 |
$line = preg_replace("/<pre-shared-key>.*?<\\/pre-shared-key>/", "<pre-shared-key>xxxxx</pre-shared-key>", $line); |
113 | 119 |
$line = preg_replace("/<rocommunity>.*?<\\/rocommunity>/", "<rocommunity>xxxxx</rocommunity>", $line); |
114 | 120 |
$line = preg_replace("/<prv>.*?<\\/prv>/", "<prv>xxxxx</prv>", $line); |
Also available in: Unified diff
Mask a few more sensitive bits of data in the status.php config.