Skip to content

Commit

Permalink
allow for lower case password prompts in the ios driver
Browse files Browse the repository at this point in the history
  • Loading branch information
knipknap committed Mar 21, 2017
1 parent 7a4c2e9 commit 77a7155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Exscript/protocols/drivers/ios.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


_user_re = [re.compile(r'user ?name: ?$', re.I)]
_password_re = [re.compile(r'(?:[\r\n]Password: ?|last resort password:)$')]
_password_re = [re.compile(r'(?:[\r\n][Pp]assword: ?|last resort password:)$')]
_tacacs_re = re.compile(r'[\r\n]s\/key[\S ]+\r?%s' % _password_re[0].pattern)
_prompt_re = [re.compile(r'[\r\n][\-\w+\.:/]+(?:\([^\)]+\))?[>#] ?$')]
_error_re = [re.compile(r'%Error'),
Expand Down

0 comments on commit 77a7155

Please sign in to comment.