Skip to content

Instantly share code, notes, and snippets.

View alinefr's full-sized avatar

Aline Freitas alinefr

  • São Paulo/SP, Brazil
View GitHub Profile
@alinefr
alinefr / exploit.diff
Created April 9, 2014 16:03
Heartbeat Exploit
The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
the OpenSSL License and the original SSLeay license apply to the toolkit.
See below for the actual license texts. Actually both licenses are BSD-style
Open Source licenses. In case of any license issues related to OpenSSL
please contact [email protected].
(c) Tim Brown, 2014
<mailto:[email protected]>
<http://www.nth-dimension.org.uk/> / <http://www.machine.org.uk/>
@alinefr
alinefr / heartbeat_check.py
Created April 9, 2014 15:58
OpenSSL TLS Heartbeat Extension - Memory Disclosure
#!/usr/bin/python
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford ([email protected])
# The author disclaims copyright to this source code.
import sys
import struct
import socket
import time
import select