salpymec on 7:30 PM 10/01/2024: Mk là gì vậy ?
kvfs on 10:57 PM 10/02/2024: You have to find out how does the password check works.
It's not a preset password, it depends on the password you input.
For example:
Password: abcdefg
(Password incorrect)
Password: aaaaaaa
(Password correct)
Password: bbbbbbb
(Password correct)
You have to find out the formula for the password's generation.
t0xic11 on 3:28 PM 10/03/2024: I made the pseudocode:
#include
#include
#include
#define MAX_SIZE 100
int sequencia(char *str){
int count = 1;
char atual = str[0];
for(int i=1; i = 4){
return 1; // Foi
}
} else {
atual = str[i];
count = 1; //res
}
}
return 0;
}
int main(){
char *input = (char *)malloc(MAX_SIZE * sizeof(char));
if(input == NULL){
fprintf(stderr, "ERRO AO ALOCAR\n");
return 1;
}
memset(input, 0, MAX_SIZE * sizeof(char));
printf("Input pass \n");
fgets(input, MAX_SIZE, stdin);
while(1){
input[strcspn(input, "\n")] == 0;
if(strlen(input) = 4){
memmove(input + 10, input, 4);
input[15] = '\0';
}
if(sequencia(input)){
printf("Sucesso \n");
}else{
printf("Try again \n");
}
free(input);
return 0;
}
}
I only need 4 identical characters
xorkey on 12:27 PM 10/05/2024: Good, but much easier than difficulty 3. Continue your journey, kvfs.
kvfs on 9:52 PM 10/05/2024: t0xic11, that's is not the solution, but is kinda close. If you try doing "aaaab" as password, it will be incorrect.
MadKalashnikov on 5:26 PM 10/13/2024: Sorry if im way too beginner for this challenge, but im trying to look for the "Input Password" print line in Ghidra, not finding anything. why?
_int2eh on 6:14 PM 10/13/2024: Excellent Crackme! I broke down each function hand by hand until I found the exact checking part, and understood that to reach "Access Granted", the two blocks of memory compared in "memcmp" must be equal for EAX = 0 and the "test" instruction be valid , skipping the "jne" instruction
kvfs on 3:41 PM 10/15/2024: MadKalashnikov, all strings are encrypted using xorstr. That's why you can't easily find the strings in ghidra or ida
vishalkumar2806 on 1:33 PM 10/17/2024: so you want us tomake a key gen on this or wht
kvfs on 6:44 PM 10/17/2024: vishalkumar2806, the keygen is optional. You have to find out the algorithm for the password generation and you can make a keygen if you'd like to
Hackantrick on 5:44 PM 10/18/2024: cannot open zip file its password protected and crackmes.de or crackmes.one is not working
Nuxi763 on 2:35 PM 10/20/2024: If input size is even it will generate a reversed password , if we assume input is : Test it will generate : tseT.
so if we Enter TesttseT, it will generate the same, so it will grant access.
If input size is odd, we assume input we wanna enter is : Crack
It will generate kcarC, so if we wanna get access with odd input size, we have to enter CrackcarC.
In short : It generates password with reversing entered input.
kvfs on 7:25 PM 10/21/2024: Good job Nuxi763!
upfeed on 12:38 PM 10/24/2024: upfeedeefpu
seems all the same from either side
NN305 on 4:34 PM 10/26/2024: It's kinda hard for newbies like me to solve this. Where I can find easier tasks to solve on which I can practice?