Merge pull request #900 from dcooper16/fix_heartbleed

Fix run_heartbleed()
This commit is contained in:
Dirk Wetter 2017-11-19 18:27:03 +01:00 committed by GitHub
commit 9949be750d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10158,7 +10158,7 @@ run_heartbleed(){
debugme echo "using protocol $tls_hexcode"
heartbleed_payload=", x18, $tls_hexcode, x00, x03, x01, x40, x00"
tls_sockets "${tls_hexcode:6:2}" "" "" "" "" "false"
tls_sockets "${tls_hexcode:6:2}" "" "ephemeralkey" "" "" "false"
[[ $DEBUG -ge 4 ]] && tmln_out "\nsending payload with TLS version $tls_hexcode:"
socksend "$heartbleed_payload" 1