AutoHotkey Community

It is currently May 27th, 2012, 12:27 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: January 15th, 2009, 5:09 am 
Offline

Joined: March 9th, 2007, 2:47 am
Posts: 509
Location: Unknown
How could you generate every possible combination of letters up to say 10 letters?

example:
a
b
...
aa
ab
...
ba
bb


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 15th, 2009, 5:11 am 
are u serious?
the combination of ten 26 possible letters is equal to 26^10 = 141167095653376


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 15th, 2009, 5:19 am 
Offline

Joined: March 9th, 2007, 2:47 am
Posts: 509
Location: Unknown
Yes I am serious.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 15th, 2009, 5:23 am 
here is 3 digit example:
Code:
first = 97
Second = 97
third = 97
loop
{
var1 := Chr(first)
var2 := Chr(Second)
var3 := Chr(third)
msgbox %var3%%var2%%var1%
first++

if first > 122
{
Second++
first = 97
}

if second > 122
{
third++
second = 97
first = 97
}

if third > 122
exitapp

}


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 15th, 2009, 5:33 am 
just created a script to test how long it appends all 3 digits (~17000 combo) in a text doc
20 seconds
so if u want to output 10 digits combo, u will be expecting around ~166078936062 seconds


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 15th, 2009, 5:40 am 
Offline

Joined: December 21st, 2008, 7:29 pm
Posts: 181
I'm assuming you're trying to crack a password or something. Use a wordlist, ahk isn't want you want for generating millions of combinations.

http://wordlist.sourceforge.net/
http://www.darknet.org.uk/2008/02/passw ... e-forcing/


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], chaosad, Exabot [Bot], Google Feedfetcher, jrav and 16 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group