diff options
author | Stefan Schlesinger <sts@ono.at> | 2015-03-23 09:53:54 +0100 |
---|---|---|
committer | Stefan Schlesinger <sts@ono.at> | 2015-03-23 09:53:54 +0100 |
commit | 706517f75c33f8af231a4e7a4839e74290eb9127 (patch) | |
tree | 679dca29dbee35716ecd5ecaa26ab2462853e7fc /lib/oxidized/model | |
parent | 43d19284d7066247800f136c15e0420ece9634bb (diff) |
Backup full ASA configuration (include passwords)
At the old version it didn't backup things like ldap passwords, which ended up in output marked as '****'.
pre: ldap-login-password *****
now: ldap-login-password wBGqqqCY5SjZ8hY
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r-- | lib/oxidized/model/asa.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/asa.rb b/lib/oxidized/model/asa.rb index 8335b1d..d257e9e 100644 --- a/lib/oxidized/model/asa.rb +++ b/lib/oxidized/model/asa.rb @@ -23,7 +23,7 @@ class ASA < Oxidized::Model comment cfg end - cmd 'show running-config' do |cfg| + cmd 'more system:running-config' do |cfg| cfg = cfg.each_line.to_a[3..-1].join cfg.gsub! /^: [^\n]*\n/, '' cfg |