]> code.delx.au - monosys/blob - bin/wepkeygen
ssh-screen-wrapper
[monosys] / bin / wepkeygen
1 #!/usr/bin/python
2 # Licensed under the GPL version 2
3 # Copyright 2004 James Bunton <james@delx.cjb.net>
4
5 import random
6 import time
7 import sys
8
9 print "WEP Key Generator by James Bunton <james@delx.cjb.net>"
10
11 table = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f']
12
13 out = ""
14 for i in xrange(26):
15 out += table[random.randint(0,15)]
16
17 print
18 print "You're WEP key is:", out
19