Skip to content

Instantly share code, notes, and snippets.

@rythie
rythie / hb_test.py
Last active August 29, 2015 13:58 — forked from tahajahangir/hb_test.py
Don't error with no args
#!/usr/bin/env python2
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford ([email protected])
# The author disclaims copyright to this source code.
# Modifed to send heartbeat requests for both TLS v1.1 and v1.2
import sys
import struct
import socket