Skip to content

Instantly share code, notes, and snippets.

View GUIpsp's full-sized avatar

Guilherme Espada GUIpsp

View GitHub Profile
@takeshixx
takeshixx / hb-test.py
Last active March 9, 2024 13:37
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
@Ruxton
Ruxton / gource_committers.bash
Created August 13, 2013 06:10
Gource joined committers caption
git_joined_committers_caption() {
authors=`git log --no-merges --format='%aN' | sort -u`
OLD_IFS=$IFS
IFS=$(echo -en "\n\b")
author_list=""
for author in $authors; do
author_first_commit=`git log --author="${author}" --pretty=format:%H|tail -1`
author_list+="$(git log -1 --format='%ct|%an started comitting' $author_first_commit)\n"
done
IFS=$OLD_IFS