Jump to content

Help with combining an array


 Share

Recommended Posts

Ok, here is what I need:

Lets say that $b = 2

$letters = array of the alphabet

How can I get it to show all possible combinations of 2 letters?

Example:

aa

ab...

ba

bb...

ca

cb...

Ect.

Here is what I have:

While $notequal = 1
    For $c = 0 to $b Step 1
        For $letter = 0 To 25
            $avArray3[$c] = $letters[$letter]
            $wguess = _ArrayToString($avArray3,"")
            Send($wguess)
            Send("{Enter}")
        Next
        $letter = 0
    Next
    $notequal = 0
WEnd

Since people have been thinking that I am going to put this to bad use, attached to this is the full code. So check it out all you wish. BTW, if I were trying to brute a website, most, if not all of them have a limit of 10 guesses (at the most) until it locks your I.P. address, for 15 min. and that would be a waste of my time... :D

Password_Guesser.au3

Edited by Coolw
My ProgramsMy WIP'sSteam Server Restarter
Link to comment
Share on other sites

Hi.

Why should anyone help you to write a bruteforce password cracker so you can brag about in your local script-kiddie ring? :D

An Array holding all possible combinations of just TWO letters IMHO is neither brute, nor force :), even my 6 year old boy (preschool) has a tree letters password: "xxx" :D

Anyways: There are so many really fast, real brute force tools available on the web, why should someone try to code such a thing using Autoit?

Regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Link to comment
Share on other sites

Why should anyone help you to write a bruteforce password cracker so you can brag about in your local script-kiddie ring? :D

It's not for stealing people's accounts, it's for my Computer class. We have online tests every week, and sometimes he won't tell us the password, so I am trying to make a program crack it. If you want the full code, I can PM you it, but trust me, it won't be used for bad things. I just need a little help.

My ProgramsMy WIP'sSteam Server Restarter
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...