Skip to content

Instantly share code, notes, and snippets.

@starenka
Created January 1, 2011 14:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save starenka/761778 to your computer and use it in GitHub Desktop.
Save starenka/761778 to your computer and use it in GitHub Desktop.
wordlist generator
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
#
#
# @author: starenka
# @email: 'moc]tod[liamg].T.E[0aknerats'[::-1]
# @version: 1.0
# @since 1/1/11
# @depends
import itertools
import string
chars = str(string.digits)
f = open('/tmp/wl','w+')
words = ("".join(l) for l in itertools.product(chars,repeat=6))
f.writelines(words)
f.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment