Skip to content

Instantly share code, notes, and snippets.

View vitorgv's full-sized avatar

Vitor Granzinoli Vellozo vitorgv

View GitHub Profile
@vitorgv
vitorgv / hb-test.py
Created July 8, 2016 16:38 — forked from takeshixx/hb-test.py
OpenSSL heartbeat PoC with STARTTLS support.
#!/usr/bin/env python2
"""
Author: takeshix <takeshix@adversec.com>
PoC code for CVE-2014-0160. Original PoC by Jared Stafford (jspenguin@jspenguin.org).
Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP.
"""
import sys,struct,socket
from argparse import ArgumentParser