Jump to content

Need help


Recommended Posts

Hello, I have tryed for the last few hours to make a script that makes a wordlist.

a-z

A-Z

I was hoping I could get a 6 or 7 character wordlist. ( Like a 7 letter word )

If someone could help me quick I would love that.

Thanks,

Sparrow

Edited by Sparrowlord
Link to comment
Share on other sites

Heres what I can get, but its only 3 letters long, I need like 7 letters long.

HotKeySet("{ESC}", "quit")
HotKeySet("{HOME}", "start")

While 1 
Sleep("10")
Wend

Func start()
$OpenFile = FileOpen ("YourFile.txt", 2); open the file in write mode, erasing old contents
For $i = 65 To 90
    For $j = 65 To 90
        For $k = 65 To 90
            
            FileWriteLine($OpenFile, Chr ($i) & Chr ($j) & Chr ($k))
         
        Next
    Next
Next
FileClose ($OpenFile)
EndFunc

Func quit()
Exit
EndFunc
Link to comment
Share on other sites

  • Moderators

These aren't words, but it looks like what your trying to do '7 characters long':

Local $New = ''
For $x = 1 To 7
    $Rdm = Random(65, 90, 1)
    $New = $New & Chr($Rdm)
Next

MsgBox(0, '', $New)

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...