Skip to content

Commit 4ea2daa

Browse files
committed
Minor cleanup
1 parent 51cfa16 commit 4ea2daa

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

modules/exploits/linux/http/dlink_upnp_exec_noauth.rb

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ def initialize(info = {})
2121
},
2222
'Author' =>
2323
[
24-
'Michael Messner <devnull@s3cur1ty.de>', # Vulnerability discovery and Metasploit module
24+
'Michael Messner <devnull[at]s3cur1ty.de>', # Vulnerability discovery and Metasploit module
2525
'juan vazquez' # minor help with msf module
2626
],
2727
'License' => MSF_LICENSE,
2828
'References' =>
2929
[
30-
[ 'OSVDB', '94924' ],
31-
[ 'BID', '61005' ],
32-
[ 'EDB', '26664' ],
33-
[ 'URL', 'http://www.s3cur1ty.de/m1adv2013-020' ]
30+
['OSVDB', '94924'],
31+
['BID', '61005'],
32+
['EDB', '26664'],
33+
['URL', 'http://www.s3cur1ty.de/m1adv2013-020']
3434
],
3535
'DisclosureDate' => 'Jul 05 2013',
3636
'Privileged' => true,
@@ -60,9 +60,8 @@ def initialize(info = {})
6060

6161
register_options(
6262
[
63-
Opt::RPORT(49152) #port of UPnP SOAP webinterface
63+
Opt::RPORT(49152) # port of UPnP SOAP webinterface
6464
], self.class)
65-
6665
end
6766

6867
def check
@@ -91,7 +90,7 @@ def exploit
9190

9291
execute_cmdstager(
9392
:flavor => :echo,
94-
:linemax => 400,
93+
:linemax => 400
9594
)
9695
end
9796

@@ -133,7 +132,7 @@ def execute_command(cmd, opts)
133132
},
134133
'data' => data_cmd
135134
})
136-
return res
135+
return res
137136
rescue ::Rex::ConnectionError
138137
fail_with(Failure::Unreachable, "#{peer} - Failed to connect to the web server")
139138
end

modules/exploits/linux/http/dlink_upnp_exec_noauth_telnetd.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def initialize(info = {})
2727
},
2828
'Author' =>
2929
[
30-
'Michael Messner <devnull@s3cur1ty.de>', # Vulnerability discovery and Metasploit module
30+
'Michael Messner <devnull[at]s3cur1ty.de>', # Vulnerability discovery and Metasploit module
3131
'juan vazquez' # minor help with msf module
3232
],
3333
'License' => MSF_LICENSE,

0 commit comments

Comments
 (0)