Re: Re: A tip about the value at 065A Saturday, 27-Feb-99 08:19:49 The 4 00h must be considered part of the username (and also the extra 2 bytes for setting the starting position - if you want). The idea of putting 4 0's after the username came to me when thinking of the way to make the value at [65a] the same,even if the name is different.I choose to make it 0 because it seems to be the easiest.Because the rol instruction does not change the numbers of 1 and 0's in ax,I tried to increase the number of 0's after the lodsb and add instruction.I found 2 ways of doing that: making ah=0(after the add instr.) or making al=0(lodsb).Making ah=0 was the method I used in my first keyfile gen.,but it has some disadvantages: you must know the checksum value (assambly must be used and the keyfile generator becomes biger and harder to understand) and I'm not sure it works on every case (anyway it seems to work :) ).On the other hand,in order to make al=0 ,the same bytes must be added to the username,so the keyfile generator becomes very small (under 20 lines of c code). Andy. Andy |
Joseph's Thread (Joseph) (25-Feb-99 04:47:28) |