Skip to content

Commit 0a01da1

Browse files
committed
Changed default value for SNMP Version option
1 parent e6126fd commit 0a01da1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/auxiliary/scanner/snmp/sbg6580_enum.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ def initialize(info = {})
2727
'Author' => 'Matthew Kienow <mkienow[at]inokii.com>',
2828
'License' => MSF_LICENSE
2929
))
30+
31+
# change SNMP version option to match device specification
32+
register_options(
33+
[
34+
OptString.new('VERSION', [ true, 'SNMP Version <1/2c>', '2c' ])
35+
], self.class)
3036
end
3137

3238
def run_host(ip)

0 commit comments

Comments
 (0)