Skip to content

Instantly share code, notes, and snippets.

@nachowski
nachowski / x.js
Last active December 12, 2017 08:19 — forked from liamzebedee/x.js
warpwallet cracker
function getRandomPassword(length) {
var charset = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
var result = "";
if (window.crypto && window.crypto.getRandomValues) {
values = new Uint32Array(length);
window.crypto.getRandomValues(values);
for(var i=0; i<length; i++) {
result += charset[values[i] % charset.length];
}
return result;
@nachowski
nachowski / hngen.py
Last active December 30, 2015 01:09 — forked from grantslatton/hngen.py
import urllib2
import re
import sys
from collections import defaultdict
from random import random
import json
from collections import namedtuple
"""
Introducing: Face-Smash!