Login Register






[Source] Simple password generate filter_list
Author
Message
[Source] Simple password generate #1
Code:
#Simple password generator by c0ax aka KaiT_AleX #Greetz baltazar, b0me, Maxell, MikiSoft, Melvin & crew from IRC. #Visit ljuska.org and darkartists.info print " ___ __ ___ __ _ __ _____ " print " / _ \___ _____/ /__ / _ | ____/ /_(_)__ / /____ / ___/______ _ __ " print " / // / _ `/ __/ '_/ / __ |/ __/ __/ (_-</ __(_-< / /__/ __/ -_) |/|/ / " print "/____/\_,_/_/ /_/\_\ /_/ |_/_/ \__/_/___/\__/___/ \___/_/ \__/|__,__/ " print " ~ DarkArtists.info" import sys, os, random small = 'qwertyuiopasdfghjklzxcvbnm' bigones = 'QWERTYUIOPASDFGHJKLZXCVBNM' numb = '23456789' smallbig = small + bigones allchars = small + bigones + numb smallnamb = small + numb bignamb = bigones + numb def smallchars(): print ''.join(random.choice(small) for i in range(passleng)) def bigchars(): print ''.join(random.choice(bigones) for i in range(passleng)) def smallbigg(): print ''.join(random.choice(smallbig) for i in range(passleng)) def smallnum(): print ''.join(random.choice(smallnamb) for i in range(passleng)) def bignum(): print ''.join(random.choice(bignamb) for i in range(passleng)) def allcharss(): print ''.join(random.choice(allchars) for i in range(passleng)) passleng = input('\nLenght of password: ') if passleng < 5: print "Please select a number in ragne from 5 to 17." elif passleng > 17: print "Please select a number in ragne from 5 to 17." else: print "\n\n[1]Only small chars" print "[2]Only big chars" print "[3]Small and big chars" print "[4]Small chars and numbers" print "[5]Big chars and numbers" print "[6]All chars" broj = input('Select an option: ') if broj <= 0: print "Please select only offered numbers." elif broj > 6: print "Please select only offered numbers." elif broj == 1: print "Your choice is small chars. Working..." print "Your generated password is: \n" smallchars() print "\n\nVisist ljuska.org and darkartists.info" elif broj == 2: print "Your choice is big chars. Working..." print "Your generated password is: \n" bigchars() print "\n\nVisist ljuska.org and darkartists.info" elif broj == 3: print "Your choice is small and big chars. Working..." print "Your generated password is: \n" smallbigg() print "\n\nVisist ljuska.org and darkartists.info" elif broj == 4: print "Your choice is small chars and numbers. Working..." print "Your generated password is: \n" smallnum() print "\n\nVisist ljuska.org and darkartists.info" elif broj == 5: print "Your choice is big chars and numbers. Working..." print "Your generated password is: \n" bignum() print "\n\nVisist ljuska.org and darkartists.info" else: print "Your choice is all chars. Working..." print "Your generated password is: \n" allcharss() print "\n\nVisist ljuska.org and darkartists.info" sys.stdout.write("\n") # EOF #Script by c0ax aka KaiT_AleX
[Image: darkgenerate.png]

I have few error in text, like "visists" and rest of shit Smile
Script works good.
[Image: 1308031172619.gif?w=356&h=140]
Don't learn to hack, hack to learn.

Reply