Skip to content

Commit 3132566

Browse files
authored
Fix OptFloat error
1 parent c05b440 commit 3132566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/oracle_weblogic_wsat_deserialization_rce.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def initialize(info = {})
5151
register_options([
5252
OptString.new('TARGETURI', [true, 'The base path to the WebLogic WSAT endpoint', '/wls-wsat/CoordinatorPortType']),
5353
Opt::RPORT(7001, true, 'The remote port that the WebLogic WSAT endpoint listens on')
54-
OptFloat.new('TIMEOUT', [true, "The timeout value of requests to RHOST", 20])
54+
OptFloat.new('TIMEOUT', [true, "The timeout value of requests to RHOST", 20.0])
5555
])
5656
end
5757

0 commit comments

Comments
 (0)