superfish.pem contains:
- the Superfish certificate as found by both Chris Palmer and Matt Burke;
- the encrypted private key as found by Karl Koscher.
$ openssl x509 -in superfish.pem -text
Certificate:
Data:
Version: 3 (0x2)| """Demonstrates how to construct and send raw Ethernet packets on the | |
| network. | |
| You probably need root privs to be able to bind to the network interface, | |
| e.g.: | |
| $ sudo python sendeth.py | |
| """ | |
| from socket import * |
| # encoding: utf8 1,1 Top# encoding: utf8 | |
| import argparse | |
| from datetime import datetime | |
| import json | |
| from random import randint | |
| import requests | |
| import sys | |
| from time import sleep |
| #!/usr/bin/env python | |
| import sys | |
| import gmpy | |
| import curve25519 | |
| from struct import pack | |
| from hashlib import sha256 | |
| from binascii import hexlify, unhexlify |
| #!/usr/bin/env python | |
| # I don't know what happened here - the gist history is somehow screwed up. My original is here: | |
| # https://gist.github.com/ryancdotorg/18235723e926be0afbdd | |
| """ | |
| sudo apt-get install python-gmpy python-m2crypto python-crypto python-dev | |
| sudo pip install pycurve25519 | |
| ./rsabd.py >poc.key | |
| openssl req -new -key poc.key -out poc.csr |
| dc:14:de:8e:d7:c1:15:43:23:82:25:81:d2:59:e8:c0 | 245272 | |
|---|---|---|
| 32:f9:38:a2:39:d0:c5:f5:ba:bd:b7:75:2b:00:f6:ab | 197846 | |
| d0:db:8a:cb:74:c8:37:e4:9e:71:fc:7a:eb:d6:40:81 | 152046 | |
| 34:47:0f:e9:1a:c2:eb:56:eb:cc:58:59:3a:02:80:b6 | 140777 | |
| df:17:d6:57:7a:37:00:7a:87:5e:4e:ed:2f:a3:d5:dd | 91904 | |
| 81:96:a6:8c:3a:75:f3:be:84:5e:cc:99:a7:ab:3e:d9 | 80499 | |
| 7c:a8:25:21:13:a2:eb:00:a6:c1:76:ca:6b:48:6e:bf | 78172 | |
| 1c:1e:29:43:d2:0c:c1:75:40:05:30:03:d4:02:d7:9b | 71851 | |
| 8b:75:88:08:41:78:11:5b:49:68:11:42:64:12:6d:49 | 70786 | |
| c2:77:c8:c5:72:17:e2:5b:4f:a2:4e:e3:04:0c:35:c9 | 68654 |
superfish.pem contains:
$ openssl x509 -in superfish.pem -text
Certificate:
Data:
Version: 3 (0x2)| https://dl.google.com/translate/offline/v3/r1/c.zip | |
| https://dl.google.com/translate/offline/v3/r1/profiles.txt |
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |
| # http://lwn.net/Articles/655992/ | |
| # https://github.com/mfleming/bits/blob/master/python/bits/__init__.py | |
| import bits | |
| from ctypes import * | |
| mem = (c_char * 128).from_address(0xf1390) | |
| print bits.dumpmem(mem) | |
| # 00000000: 2f 68 6f 6d 65 2f 6a 6f 73 68 ... /home/josh... |
| #!/bin/bash | |
| # btrfs-undelete | |
| # Copyright (C) 2013 Jörg Walter <info@syntax-k.de> | |
| # This program is free software; you can redistribute it and/or modify it under | |
| # the term of the GNU General Public License as published by the Free Software | |
| # Foundation; either version 2 of the License, or any later version. | |
| if [ ! -b "$1" -o -z "$2" -o -z "$3" ]; then | |
| echo "Usage: $0 <dev> <file/dir> <dest>" 1>&2 | |
| echo |