Syntaxe Posted August 31, 2008 Posted August 31, 2008 Hello! I've known autoit for a time now, and thought of trying to make a wordlist generator. What it currently does is making a wordlist-(next number).txt and opens it. I don't know alot about loops, so I need some help making the writing loop part. #Include <File.au3> Global $sFile = "0" Global $charset = StringSplit("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,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,1,2,3,4,5,6,7,8,9,0", ",") Global $length = "6" createfile() writefile() Func writefile() $file = FileOpen($sFilename, 1) EndFunc Func createfile() If(FileExists("wordlist-" & $sFile & ".txt")) Then $sFile = $sFile + "1" createfile() Else _FileCreate("wordlist-" & $sFile & ".txt") EndIf Global $sFilename = "wordlist-" & $sFile & ".txt" EndFunc
qazwsx Posted August 31, 2008 Posted August 31, 2008 well a wordlist would contain words. Autoit is not going to be able to do that alone. You would have to get the words off of the internet.
APPLEEATER Posted August 31, 2008 Posted August 31, 2008 well a wordlist would contain words. Autoit is not going to be able to do that alone. You would have to get the words off of the internet.To me this looks like a Brute Force password cracker or something...i tried making something close to this before...and it was actually very tricky...you will have to use While or Do statementsI don't have time to write an example right now tho sry :/
Syntaxe Posted August 31, 2008 Author Posted August 31, 2008 @gazwsx: Not exactly words. But it should generate "words" with the chars and numbers passed into the script. @APPLEEATERL: I do agree, it could be a part of a cracker. But you should notice that its only generating words, not cracking anything. But this code is for learning purpose only, since I want to work as a penetration tester later in my life. Just because it can be used illegal, doesn't mean its going to.
Paulie Posted August 31, 2008 Posted August 31, 2008 I created a word generator based off of a variable pattern. It may be of some use to you.It's here:http://www.autoitscript.com/forum/index.php?showtopic=75803
Syntaxe Posted August 31, 2008 Author Posted August 31, 2008 Your code is much appreciated, but I need some more to go on, please
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now