Skip to content

Commit 43a4f41

Browse files
committed
Land rapid7#3242, SSLv3 support
2 parents 3e04fd7 + f115a7f commit 43a4f41

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

modules/auxiliary/scanner/ssl/openssl_heartbleed.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,10 @@ class Metasploit3 < Msf::Auxiliary
6969
HEARTBEAT_RECORD_TYPE = 0x18
7070
ALERT_RECORD_TYPE = 0x15
7171
TLS_VERSION = {
72-
'1.0' => 0x0301,
73-
'1.1' => 0x0302,
74-
'1.2' => 0x0303
72+
'SSLv3' => 0x0300,
73+
'1.0' => 0x0301,
74+
'1.1' => 0x0302,
75+
'1.2' => 0x0303
7576
}
7677

7778
TLS_CALLBACKS = {
@@ -121,7 +122,7 @@ def initialize
121122
[
122123
Opt::RPORT(443),
123124
OptEnum.new('STARTTLS', [true, 'Protocol to use with STARTTLS, None to avoid STARTTLS ', 'None', [ 'None', 'SMTP', 'IMAP', 'JABBER', 'POP3', 'FTP' ]]),
124-
OptEnum.new('TLSVERSION', [true, 'TLS version to use', '1.0', ['1.0', '1.1', '1.2']]),
125+
OptEnum.new('TLSVERSION', [true, 'TLS/SSL version to use', '1.0', ['SSLv3','1.0', '1.1', '1.2']]),
125126
OptBool.new('STOREDUMP', [true, 'Store leaked memory in a file', false]),
126127
OptRegexp.new('DUMPFILTER', [false, 'Pattern to filter leaked memory before storing', nil])
127128
], self.class)

0 commit comments

Comments
 (0)