diff --git a/modules/auxiliary/scanner/http/http_hsts.rb b/modules/auxiliary/scanner/http/http_hsts.rb index 7f402dc578..7c71ebe7df 100644 --- a/modules/auxiliary/scanner/http/http_hsts.rb +++ b/modules/auxiliary/scanner/http/http_hsts.rb @@ -18,7 +18,7 @@ class Metasploit3 < Msf::Auxiliary register_options([ OptBool.new('SSL', [ true, "Negotiate SSL for outgoing connections", true]), - OptInt.new('RPORT', [true, "The target port", 443]), + Opt::RPORT(443) ]) end