Coop Posted February 12, 2010 Posted February 12, 2010 Hey guys,I am looking for a KG template (MASM) that would bruteforce a serial that is 15 characters long (0-9 chars only). The ripped code is 2.5megs as a text file and consists mostly of IMULs & IDIVs, etc. There is a total of 17 math checks done. During each check, the char manipulation is done on 13-15 characters from the serial as well as on chars from the username; these are done independantly and the if the results match then variable "Valid" is set. Subsequent checks also set/reset "Valid" accordingly... I realize I have to loop through the whole thing until all criteria are met so I am looking for the SPEEDIEST and MOST EFFICIENT way to do it. I intended to start with a serial of "000000000000001" and loop til valid serial found or "999999999999999".Thanks for replies!
qpt^J Posted February 12, 2010 Posted February 12, 2010 Use BigLib library, if you want to do operations with big numbers, but also remember, that it will take a lots of time for bruteforcing
Coop Posted February 12, 2010 Author Posted February 12, 2010 Thanks for the suggestion but all the math is done on bytes anyway...I intended to handle the original serial as a str to get away from big numbers...
Loki Posted February 13, 2010 Posted February 13, 2010 Seems to me this is a perfect opportunity to learn some coding if you've not already done so? The routine is simple enough - increment least significant byte from 0x30 to 0x39; once you hit 0x39 set back to 0x30 and increment next byte. MASM has some macros and stuff which will help but try doing it with basic mov, inc, je etc and you'll learn a lot here. Post as you go and people will be far more likely to help seeing as you're trying it yourself Good luck
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