summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKodApa85 <parsons151185@gmail.com>2018-06-21 07:33:55 +0100
committerWild Kat <wk@users.noreply.github.com>2018-06-21 08:33:55 +0200
commitf0947761b46e4ee6cdadd866b1cf3cf25bdfeedd (patch)
treea4a0fba828cc7e3e3a6c819d7d5695581648ed60
parent917736aebb80799d8b38c1a577bf53acd648e43c (diff)
added telnet password prompt detection for Netgears. (#1413)
Tested on Netgear M5300's running firmware 10.0.0.53, 11.0.0.23 & 11.0.0.31
-rw-r--r--CHANGELOG.md1
-rw-r--r--lib/oxidized/model/netgear.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7d01b98..d99f71f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,7 @@
## Master
+* BUGFIX: netgear telnet password prompt not detected
* BUGFIX: xos model should not modify config on legacy Extreme Networks devices (sq9mev)
* BUGFIX: model edgecos, ciscosmb
* MISC: bump Dockerfile phusion/baseimage:0.10.0 -> 0.10.1
diff --git a/lib/oxidized/model/netgear.rb b/lib/oxidized/model/netgear.rb
index 40b0924..951af1c 100644
--- a/lib/oxidized/model/netgear.rb
+++ b/lib/oxidized/model/netgear.rb
@@ -10,6 +10,7 @@ class Netgear < Oxidized::Model
cfg :telnet do
username /^(User:|Applying Interface configuration, please wait ...)/
+ password /^Password:/i
end
cfg :telnet, :ssh do