Skip to content

Commit cea30b5

Browse files
committed
Use built-in format for RPORT
1 parent e99cc00 commit cea30b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/auxiliary/gather/eventlog_cred_disclosure.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ def initialize(info = {})
4141

4242
register_options(
4343
[
44-
OptPort.new('RPORT',
45-
[true, 'The target port', 8400]),
44+
Opt::RPORT(8400),
4645
OptString.new('TARGETURI', [ true, "Eventlog Analyzer application URI (should be /event for version 7)", '/']),
4746
], self.class)
4847
end

0 commit comments

Comments
 (0)