- edited description
decrypter and keyhack not working
When I start the keyhack like this: "./keyhack libhmac.so" then i enter the list of byte keys like this: 0x5377 <Return> 4 <Return> 0x5373 <Return> 1 <Return> ...
After entering all, it still asks for more. It never starts calculating but i provided all values. After enetring 'sum' is 40 (i checked it manually). Also, is it correct that you loop until 'cnt' is == SECRET? because this would mean that there must be a total of 40 entries.
The same problem for the decrypter, also why are there unused variables?
I used this list in keyhack:
0x5377 4
0x5373 1
0x5368 4
0x5364 1
0x536d 4
0x5369 1
0x5363 4
0x535f 1
0x535e 4
0x535a 1
0x5354 4
0x5350 1
0x5359 4
0x5355 1
0x5372 4
0x536e 1
Did I miss something? I extracted them from this part:
*(int32_t *)(g4 + 200) = *(int32_t *)(g4 - 0x5377);
*(char *)(g4 + 204) = *(char *)(g4 - 0x5373);
*(int32_t *)(g4 + 205) = *(int32_t *)(g4 - 0x5368);
*(char *)(g4 + 209) = *(char *)(g4 - 0x5364);
*(int32_t *)(g4 + 210) = *(int32_t *)(g4 - 0x536d);
*(char *)(g4 + 214) = *(char *)(g4 - 0x5369);
*(int32_t *)(g4 + 215) = *(int32_t *)(g4 - 0x5363);
*(char *)(g4 + 219) = *(char *)(g4 - 0x535f);
*(int32_t *)(g4 + 220) = *(int32_t *)(g4 - 0x535e);
*(char *)(g4 + 224) = *(char *)(g4 - 0x535a);
*(int32_t *)(g4 + 225) = *(int32_t *)(g4 - 0x5354);
*(char *)(g4 + 229) = *(char *)(g4 - 0x5350);
*(int32_t *)(g4 + 230) = *(int32_t *)(g4 - 0x5359);
*(char *)(g4 + 234) = *(char *)(g4 - 0x5355);
*(int32_t *)(g4 + 235) = *(int32_t *)(g4 - 0x5372);
unsigned char result = *(char *)(g4 - 0x536e); // 0x53c4
Comments (3)
-
reporter -
repo owner After entering all, it still asks for more. It never starts calculating but i provided all values
Both progams read until they encounter EOF which can be sent via terminal by pressing CTRL+D or by redirecting a file into the program (my normal usecase).
The sequence you posted gives me "gCHnPFSbtIiAqywJFNNSWpckQcDemyLlSyiGtkkx".
also why are there unused variables?
Fixed that, sorry if that made the code hard to understand.
critical Bug
Please use the severity level adequately
-
repo owner - changed status to closed
Documentation fixed
- Log in to comment