AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Password Dictionaries

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
alantsd



Joined: 26 Oct 2007
Posts: 10

PostPosted: Sat Nov 17, 2007 4:03 pm    Post subject: Password Dictionaries Reply with quote

Code:


SetBatchLines -1





no1 :=0
no2 :=0
no3 :=0
;For future
;no4 :=0
;no5 :=0
;no6 :=0
;no7 :=0


IfExist, C:\pass2.txt

FileDelete, C:\pass2.txt

Send:

if no3 =27

{
    no3 :=0
    no2 +=1
}

if no2 =27

{
    no2 :=0
    no1 +=1
}

if no1 =27
    msgbox Done!
   
    IfMsgBox ok
    ExitApp


FileAppend,
(
%c1%%c2%%c3%`n
), C:\pass2.txt





if no3 >=0
    no3 +=1


FileReadLine, c1, C:\char.txt, %no1%
FileReadLine, c2, C:\char.txt, %no2%
FileReadLine, c3, C:\char.txt, %no3%

;Status Bar
Progress, %no1%%no2%,, %c1%%c2%%c3%, GENERATING PASSLIST
   
goto, Send



F3::ExitApp



This is char.txt
Code:




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


Hi....i'm still new in AHK.

I try to make a password dictionaries.

i know my codes are simple.

my Ahk now can generate A to ZZZ.

I hope experienced coder can improve my code to a higher level.

I would like to know if can i start from AAA straight away ?

Thank you for ur time. Laughing
Back to top
View user's profile Send private message
alantsd



Joined: 26 Oct 2007
Posts: 10

PostPosted: Sat Nov 17, 2007 4:15 pm    Post subject: Reply with quote

Code:

SetBatchLines -1





no1 :=1
no2 :=1
no3 :=0
;no4 :=0
;no5 :=0
;no6 :=0
;no7 :=0
IfExist, C:\pass2.txt

FileDelete, C:\pass2.txt

Send:

if no3 =27

{
    no3 :=0
    no2 +=1
}

if no2 =27

{
    no2 :=0
    no1 +=1
}

if no1 =27
    msgbox Done!
   
    IfMsgBox ok
    ExitApp


FileAppend,
(
%c1%%c2%%c3%`n
), C:\pass2.txt




if no3 >=0
    no3 +=1


FileReadLine, c1, C:\char.txt, %no1%
FileReadLine, c2, C:\char.txt, %no2%
FileReadLine, c3, C:\char.txt, %no3%


Progress, %no1%%no2%,, %c1%%c2%%c3%, GENERATING PASSLIST
   
goto, Send



F3::ExitApp









Ah... this is much more better..
Feel the feel of "Matrix" when looking at the progress bar.

Can any one make a gui for the code? ( so the code is more flexible)

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group