Sponsored by: █ Sparkhost - Hosting Without Compromises! █ Hybrid Performance Web Hosting █ Spark Host Stream Hosting █ Hybrid IRC & IRCd Server Shell Accounts
Random Char Wordlist
Started by
It sme
, Apr 12 2010 09:25 AM
10 replies to this topic
#1
Posted 12 April 2010 - 09:25 AM
Hello GS, im new here and a complete n00b at programming...
However, i need to generate a wordlist, every "password" should be 8 chars long.
And every password should be on its own line
like this:
dhfjrksl
jghftrbw
fjrhstd
It should only be lowercase and from a-z
Also it should be dumped to a .txt file
Any pointers on where to start?
Or tools to use?
Best regards
It smeeeee
However, i need to generate a wordlist, every "password" should be 8 chars long.
And every password should be on its own line
like this:
dhfjrksl
jghftrbw
fjrhstd
It should only be lowercase and from a-z
Also it should be dumped to a .txt file
Any pointers on where to start?
Or tools to use?
Best regards
It smeeeee
#4
Posted 12 April 2010 - 11:06 AM
What is the lenght that you want?
What are the chars?
How many you want?
What are the chars?
How many you want?
#5
Posted 12 April 2010 - 11:35 AM
Learn a scripting language (and google). It comes in handy.
Takes a couple of minutes in python.
Takes a couple of minutes in python.
import string
import random
FILE = open("test.txt","a")
i = 0
while i <= 1000:
i+=1
d = [random.choice(string.letters) for x in xrange(8)]
s = "".join(d)
writing= s.lower()+"\n"
FILE.write(writing)
FILE.close()
#6
Posted 12 April 2010 - 11:42 AM
Nice anticipation webdevil!
#7
Posted 12 April 2010 - 09:34 PM
every "password" should be 8 chars long.
And every password should be on its own line
It should only be lowercase and from a-z
Also it should be dumped to a .txt file
that's what he asked for
#8
Posted 13 April 2010 - 11:42 AM
ty webdevil
ill try to play arround with the script
ill try to play arround with the script
#9
Posted 13 April 2010 - 11:51 AM
Thank you sooo much webdevil...
It works perfectly...
I should look deeper into python, i see now....
U are my king....
It works perfectly...
I should look deeper into python, i see now....
U are my king....
#10
Posted 28 April 2010 - 01:25 AM
Learn a scripting language (and google). It comes in handy.
Takes a couple of minutes in python.import string import random FILE = open("test.txt","a") i = 0 while i <= 1000: i+=1 d = [random.choice(string.letters) for x in xrange(8)] s = "".join(d) writing= s.lower()+"\n" FILE.write(writing) FILE.close()
Interesting, I could write the same piece of code in PHP but this time generating aphanumeric passwords.
But like you snippet of code really handy. Great work.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












