Skip to content

Instantly share code, notes, and snippets.

@carnal0wnage
carnal0wnage / http_version_vhost.rb
Created August 16, 2015 13:15
metasploit resource script to use a list of hostnames, run http modules and set the VHOST as well
<ruby>
#variables
maxjobs = 5 #throttling if we get too much jobs
#default to 15 Threads
if (framework.datastore['THREADS'] == nil)
run_single("setg THREADS 5")
end
@dyatlov
dyatlov / hb-test.py
Last active April 9, 2020 20:03
OpenSSL heartbeat PoC with STARTTLS support - Python3 version
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org)
# The author disclaims copyright to this source code.
import sys
import struct
import socket
import time
import select
import re
import codecs