Skip to content

Commit 7d44bd5

Browse files
committed
Clean up module
1 parent 015b790 commit 7d44bd5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

modules/exploits/multi/postgres/postgres_createlang.rb

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@ def initialize(info = {})
4848
['Automatic', {}]
4949
],
5050
'DefaultTarget' => 0,
51-
'DisclosureDate' => 'Jan 1 2016'))
52-
register_options(
53-
[
54-
Opt::RPORT(5432),
55-
], self.class)
51+
'DisclosureDate' => 'Jan 1 2016'
52+
))
53+
54+
register_options([
55+
Opt::RPORT(5432)
56+
])
5657

5758
deregister_options('SQL', 'RETURN_ROWSET', 'VERBOSE')
5859
end

0 commit comments

Comments
 (0)