Jump to content

Key generator


0000
 Share

Recommended Posts

Ok I have written a program for easy money in the internet...

And I need examplace something like:

Input User/Password..

But password I want to send, so somebody send to me his Username, I genarate a pw and I told to him, and he can use program...

I think generator something like

Username: abcd

Password 4321

or

Username: abcd

Pasword bcda4 because[4letters] can somebody give example or good ideas <_<?

Link to comment
Share on other sites

<_<

MsgBox(0,"", genPassword(8,1))

Func genPassword($length,$caps)
    $array = StringSplit("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789","")

    $newPassword = ""
    For $X = 1 to $length
        If $Caps Then
            If Random(0,1,1)=1 Then
                $newPassword &= $array[Random (1, $array[0], 1)]
            Else
                $newPassword &=StringLower( $array[Random (1, $array[0], 1)])
            EndIf
        Else
            $newPassword &= $array[Random (1, $array[0], 1)]
        EndIf
    Next

    return $newPassword

EndFunc
Link to comment
Share on other sites

  • Moderators

Ok that's good, but problem is that the password will be for one nick...

Not for every nick...

So there is the problem, how to made it for every nick...

<sarcasm>Since your making money off your code, I'd be happy to help you with it for money as well <_< (Only seems fair).</sarcasm> Edited by SmOke_N

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...