mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Remove hardcoded TLSv1.1 from heartbeat message build
This commit is contained in:
parent
3fd18f7752
commit
353291aeba
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ local function testversion(host, port, version)
|
|||
})
|
||||
|
||||
local payload = "Nmap ssl-heartbleed"
|
||||
local hb = tls.record_write("heartbeat", "TLSv1.1", bin.pack("C>SA",
|
||||
local hb = tls.record_write("heartbeat", version, bin.pack("C>SA",
|
||||
1, -- HeartbeatMessageType heartbeat_request
|
||||
0x0fe9, -- payload length (falsified)
|
||||
-- payload length is based on 4096 - 16 bytes padding - 8 bytes packet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue