Skip to content

Instantly share code, notes, and snippets.

View akgood's full-sized avatar

Adam Goodman akgood

View GitHub Profile
akgood /
Last active October 16, 2017 21:52
Some quick hacks to test your SSH pubkeys for the "ROCA" vuln ( without having to install any third-party python modules...
#!/usr/bin/env python
# run me as e.g. "ssh-add -L | python2.7"
import argparse
import base64
import csv
import re
import struct
import sys
def parse_mpint(data):