Skip to content

Commit 015b790

Browse files
committed
Added default rport.
1 parent 7632c74 commit 015b790

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/exploits/multi/postgres/postgres_createlang.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ def initialize(info = {})
4949
],
5050
'DefaultTarget' => 0,
5151
'DisclosureDate' => 'Jan 1 2016'))
52+
register_options(
53+
[
54+
Opt::RPORT(5432),
55+
], self.class)
5256

5357
deregister_options('SQL', 'RETURN_ROWSET', 'VERBOSE')
5458
end

0 commit comments

Comments
 (0)