From 706517f75c33f8af231a4e7a4839e74290eb9127 Mon Sep 17 00:00:00 2001 From: Stefan Schlesinger Date: Mon, 23 Mar 2015 09:53:54 +0100 Subject: 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 --- lib/oxidized/model/asa.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized') 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 -- cgit v1.2.1