summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-12-07 23:51:07 +0200
committerGitHub <noreply@github.com>2016-12-07 23:51:07 +0200
commitcf37804008de0f3bacec7f981d53a2991e883e0b (patch)
treedbcd6eed331ef54329149a0b2e47b4d3f5f5501c
parent005d1c7ebce5f9a6b38a54d7d7bb3b36f0f8476b (diff)
parent61d9981aa0bc6ac014a03f3055ec432bc0c5089f (diff)
Merge pull request #635 from SaaldjorMike/fix_cisco_smb_username_prompt
Fix Cisco SMB prompt suggested by ytti
-rw-r--r--lib/oxidized/model/ciscosmb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/ciscosmb.rb b/lib/oxidized/model/ciscosmb.rb
index 73151f8..e5501d5 100644
--- a/lib/oxidized/model/ciscosmb.rb
+++ b/lib/oxidized/model/ciscosmb.rb
@@ -34,7 +34,7 @@ class CiscoSMB < Oxidized::Model
end
cfg :telnet, :ssh do
- username /^Username:/
+ username /^User ?[nN]ame:/
password /^\r?Password:$/
post_login 'terminal datadump' # Disable pager
post_login 'terminal width 0'