Sign in to follow this  
Followers 0
infernothebest

password cracker

2 posts in this topic

hi, iam traying to make a password cracker because iam borred, i came up with this. but it is far from complete

-mouse select password windows

-eta

-check if word if already has been used without to mutch lost of performance

#Include <GUIConstants.au3>
#Include <Array.au3>

$main = GUICreate("Password Cracker", 400, 120)

$But1 = GUICtrlCreateButton("Crack Password", 40, 80, 100)
$NumInput = GUICtrlCreateInput("8", 200, 80, 80)
    $UpDown = GUICtrlCreateUpdown(-1)
        GUICtrlSetLimit(-1, 20, 1)
$Result = GUICtrlCreateInput("", 40, 40, 150, 20, BitOR($ES_AUTOHSCROLL,$ES_READONLY))
GUISetState()

While 1
    $msg = GUIGetMsg()
        Switch $msg
            Case $But1
                while 1
                GUICtrlSetData($Result, "")
                GUICtrlSetData($Result, _Generate(GUICtrlRead($NumInput)))      
                WEnd
            Case $GUI_EVENT_CLOSE
                Exit
        EndSwitch
WEnd


Func _Generate($MaxChar)
    $Pass = ""
    For $x = 1 to $MaxChar
        $Pass &= Chr(Random(Asc("0"), Asc("Z")))
    Next
    Return $Pass
EndFunc

Share this post


Link to post
Share on other sites



Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0