We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7024d4e commit 2a56c3fCopy full SHA for 2a56c3f
modules/exploits/linux/misc/cisco_ios_xe_rce.rb
@@ -146,7 +146,7 @@ def check
146
# (as the above call to run_cli_command succeeded), however maybe this firmware version uses a different format
147
# for the version information so our regex wont work.
148
# Note: Version numbers can have letters in them, e.g. 17.11.99SW or 16.12.1z2
149
- if res =~ /(Cisco IOS XE Software, Version [\d\S]+\.[\d\S]+\.[\d\S]+)/
+ if res =~ /(Cisco IOS XE Software, Version \S+\.\S+\.\S+)/
150
version = Regexp.last_match(1)
151
end
152
0 commit comments