Skip to content

Instantly share code, notes, and snippets.

Avatar

Mike Knoop mikeknoop

View GitHub Profile
@enajski
enajski / base_cf_docs.md
Last active Sep 26, 2016
Documentation for Base CRM custom fields
View base_cf_docs.md
@takeshixx
takeshixx / hb-test.py
Last active Oct 15, 2020
OpenSSL heartbeat PoC with STARTTLS support.
View hb-test.py
#!/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
@walkermatt
walkermatt / debounce.py
Created Jun 4, 2012
A debounce function decorator in Python similar to the one in underscore.js, tested with 2.7
View debounce.py
from threading import Timer
def debounce(wait):
""" Decorator that will postpone a functions
execution until after wait seconds
have elapsed since the last time it was invoked. """
def decorator(fn):
def debounced(*args, **kwargs):
def call_it():
You can’t perform that action at this time.