MountainMan You need to install the vc runtime |
==> |
for ( i = 0; i |
==> |
Enter at least 25 bits to get the correct flag,c lang flag kernel
Str Is User Input Flag
for ( i = 0; i |
==> |
Because there is no random seed, the random value is fixed,The Number is 8510 |
==> |
The sum of two random numbers up to 10,000 |
==> |
This program is written in c#
User:YourACoolHackerman
Pass:CrackMeByMiraii |
==> |
Generates a key based on the computer user name,the key is password, example username is ADMINISTRATOR, key is TsgtOtgtnTtfn |
==> |
speculate c lang
#include
#include
int main(int argc, char *argv[])
{
char chpUser[12] = {0};
char chpPass[12] = {0};
char chpCreatePass[12] = {0};
printf("What's Your Username [Max 10 Char]\n");
scanf("%s", chpUser);
for(int i = 0;;++i)
{
int bIsOk = strlen(chpUser) i;
if((bIsOk & (strlen(chpUser) i)) == 0)
{
break;
}
chpCreatePass[i] = chpUser[i] + i + 101;
}
printf("What's The Password\n");
scanf("%s", chpPass);
if(strcmp(chpPass, chpCreatePass) == 1)
{
printf("Nice! Submit your solution on crackmes.one!\n");
}
else
{
printf("Incorrect! Try again.\n");
}
return 0;
}
|
==> |
the crack me is very easy,
password is V2VsbCBkb25lISBUaGlzIGFwcGxpY2F0aW9uIHdhcyB3cml0dGVuIGluIHB1cmUgQywgYW5kIHlvdSBjcmFja2VkIGl0Lg== |
==> |
easypassword is password |
==> |