From cea30b54270a17da94b19a80b84cfcd8218e9107 Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Fri, 7 Nov 2014 20:30:32 -0600 Subject: [PATCH] Use built-in format for RPORT --- modules/auxiliary/gather/eventlog_cred_disclosure.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/auxiliary/gather/eventlog_cred_disclosure.rb b/modules/auxiliary/gather/eventlog_cred_disclosure.rb index 096aab037b..d28a9ac44c 100644 --- a/modules/auxiliary/gather/eventlog_cred_disclosure.rb +++ b/modules/auxiliary/gather/eventlog_cred_disclosure.rb @@ -41,8 +41,7 @@ class Metasploit3 < Msf::Auxiliary register_options( [ - OptPort.new('RPORT', - [true, 'The target port', 8400]), + Opt::RPORT(8400), OptString.new('TARGETURI', [ true, "Eventlog Analyzer application URI (should be /event for version 7)", '/']), ], self.class) end