Author Topic: Password Generator  (Read 2017 times)


That site is not really accurate because it doesn't take into account the common "Aaaaa1aa1aa%" style passwords.

yeah, because hackers definitely don't use dictionary attacks
you do not seem to know what a dictionary attack is

yeah, because hackers definitely don't use dictionary attacks
correcthorsebatterystaple is easy to crack.

I have a diffrent password for everything.
I have a small book on my book shelf filled with passwords usernames ids and what thay are for.

wow so impressive!! (kidding)
I can do the same thing too.
import random
def genPass(len):
   str = ""
   abc = "a b c d e f g h i j k l m n o p q r s t u v w x y z "
   abc = abc + abc.upper()
   abc = abc + "1 2 3 4 5 6 7 8 9 0"
   abc = abc.split(' ')
   print abc
   for i in range(len):
      str = str + random.choice(abc)
   return str

pas = genPass(10)
print "Password: " + pas
print "Length: " + str(len(pas))


Another (really quick) version:
import random
list = ["horse","battery","correct","wrong","his","name","is","poop","i","like","to","eat","stuff","dont","question","me","i","hate","you","the","cake","is","a","lie"]
old = list
list = []
for word in old:
   if not word in list:
      if len(word) >= 2:
         list.append(word)

def genPass(len):
   global list
   ls = []
   for i in range(len):
      w = random.choice(list)
      ls.append(w)
   return ' '.join(ls)

pas = genPass(4)
print "Password: " + pas
print "Length: " + str(len(pas))


User was banned for this post
« Last Edit: April 29, 2013, 07:35:21 AM by Badspot »


GUYS LOOK AT ME! I AM SO GOOD. IN FACT, I AM BETTER THAN YOU!
Shut up Brian

Oh stuff.
Did not see that coming

wow so impressive!! (kidding)
I can do the same thing too.
import random
def genPass(len):
   str = ""
   abc = "a b c d e f g h i j k l m n o p q r s t u v w x y z "
   abc = abc + abc.upper()
   abc = abc + "1 2 3 4 5 6 7 8 9 0"
   abc = abc.split(' ')
   print abc
   for i in range(len):
      str = str + random.choice(abc)
   return str

pas = genPass(10)
print "Password: " + pas
print "Length: " + str(len(pas))


Another (really quick) version:
import random
list = ["horse","battery","correct","wrong","his","name","is","poop","i","like","to","eat","stuff","dont","question","me","i","hate","you","the","cake","is","a","lie"]
old = list
list = []
for word in old:
   if not word in list:
      if len(word) >= 2:
         list.append(word)

def genPass(len):
   global list
   ls = []
   for i in range(len):
      w = random.choice(list)
      ls.append(w)
   return ' '.join(ls)

pas = genPass(4)
print "Password: " + pas
print "Length: " + str(len(pas))


User was banned for this post

god i hate people who brag about there coding skills

It was also a pretty big page stretch.


list = ["horse","battery","correct","wrong","  his","name","is","poop  ","  i","like","to","eat","stuff  ","  dont","question","me  ","  i","hate","you  ","the","cake","is","a","lie"]
why

Well deserved ban if you ask me.

Brian is loving insane and I hope he says banned for a while.