laphlaw Posted November 2, 2005 Share Posted November 2, 2005 What would be the most efficient way for testing all combinations of a password that is: -4 characters long -Can only be the characters 1-4 (1,2,3,4. 0, 5-9 are not used.) I figured there would be 256 combinations, but thats about as far as I got. I'm pretty much a beginner at this, and don't know much about arrays, but I figure that it would involve something like that. Please help Link to comment Share on other sites More sharing options...
Nuffilein805 Posted November 2, 2005 Share Posted November 2, 2005 it's 4^4 combinations if you want to do it with autoit than this is your code for $a = 1 to 4 step 1 for $b = 1 to 4 step 1 for $c = 1 to 4 step 1 for $d = 1 to 4 step 1 send ($a&$b&$c&$d & {enter});if you want to send it msgbox(0, "Code", $a&$b&$c&$d);for displaying in msgbox next next next next tries all combinations good luck with whatever you're doing my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now