diff options
author | Adam Smith <zero1three@gmail.com> | 2018-03-15 02:23:45 -0700 |
---|---|---|
committer | Adam Smith <zero1three@gmail.com> | 2018-03-15 02:23:45 -0700 |
commit | 227f1af00c6d43e9627fa2803d90617bebcd1d83 (patch) | |
tree | 05efeba363e71a5fd337176273457e7d49dc386c /lib/oxidized | |
parent | 05e1d505f2cc30e87b1cdcf90db966690882f610 (diff) |
add hexadecimal for junos pre-shared-secret
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/model/junos.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/junos.rb b/lib/oxidized/model/junos.rb index 4652ab1..2ea0179 100644 --- a/lib/oxidized/model/junos.rb +++ b/lib/oxidized/model/junos.rb @@ -15,6 +15,7 @@ class JunOS < Oxidized::Model cmd :secret do |cfg| cfg.gsub!(/encrypted-password (\S+).*/, 'encrypted-password <secret removed>') cfg.gsub!(/pre-shared-key ascii-text (\S+).*/, 'pre-shared-key ascii-text <secret removed>') + cfg.gsub!(/pre-shared-key hexadecimal (\S+).*/, 'pre-shared-key hexadecimal <secret removed>') cfg.gsub!(/authentication-key (\S+).*/, 'authentication-key <secret removed>') cfg.gsub!(/community (\S+) {/, 'community <hidden> {') cfg |