Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python2
"""
Author: takeshix <[email protected]>
PoC code for CVE-2014-0160. Original PoC by Jared Stafford ([email protected]).
Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP.
"""
import sys,struct,socket
from argparse import ArgumentParser
@blazs
blazs / kMeans.py
Created February 18, 2014 17:24 — forked from nsaje/kMeans.py
#!/usr/bin/env python
import mrjob
from mrjob.job import MRJob
import os
import sys
import numpy as np
class MRkMeans(MRJob):
centroids = None