I want to brute force 4-digit combinations (0 through 9) by simulating number-pad key-presses. How to do this using AutoIt?
Use this and add ControlSend()
or Send()
or ControlSetText()
(or something else) to put $i
into your input field and that's it.
; 0000 - 9999
Global $start = 0
Global $end = 9999
For $i = $start To $end
ConsoleWrite(StringFormat('%04i', $i) & @CRLF)
Next