Skip to content

Commit a4e8cdf

Browse files
author
Brent Cook
committed
msftidy fixes
1 parent 14ed60e commit a4e8cdf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

modules/exploits/linux/http/netgear_dnslookup_cmd_exec.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Current source: https://github.com/rapid7/metasploit-framework
44
##
55

6-
require 'msf/core'
76
require 'net/http'
87
require "base64"
98

@@ -45,12 +44,12 @@ def initialize(info = {})
4544
Opt::RPORT(80),
4645
OptString.new('USERNAME', [true, 'Username to authenticate with', '']),
4746
OptString.new('PASSWORD', [true, 'Password to authenticate with', ''])
48-
], self.class)
47+
])
4948

5049
register_advanced_options(
5150
[
5251
OptString.new('HOSTNAME', [true, '"Hostname" to look up (doesn\'t really do anything important)', 'www.google.com'])
53-
], self.class)
52+
])
5453
end
5554

5655
# Requests the login page which tells us the hardware version

0 commit comments

Comments
 (0)