DaBaddest on 3:13 PM 02/22/2022: I cant run this because Im on linux.
Is this a valid pair?
username: crackmes.one
password: r.crmesoko.s
chkdsk on 4:49 PM 02/22/2022: DaBaddest : yes, your pair is valid
Danofred on 2:37 PM 02/23/2022: yes, it's valid
yovimi on 5:15 AM 02/26/2022: for the username yovimi , the password will be iiyoio , I did not begin to sort out exactly how keygen works , well , definitely just swaps the letters , the upx packager does not help in this case :)
JamesBond008 on 12:08 AM 02/27/2022: /*
Feb-26-2022 By JamesBond008
Solution (KeyGen.cpp) to
*****************************
KEYGEN ME
By @Danofred
Powered by crackmes.one
Difficulty : 3.0
*****************************
Examples of the UserName/Key Pairs generated by this KeyGen:
JamesBond007 / de7n0s0dooo0
Cool-You-Did-It / t--Iiu-oi-ioi-Y
WhatsUpNext / WsaWpaNNptW
Thanks Danofred for the nice KeyGenMe to practice one's skill to make a KeyGen.
*/
#include
#include
char* keygen(char* UserName)
{
char Key[256] = "";
int UserNameLength;
int EncryptKeyLength;
int i;
EncryptKeyLength = strlen("tryHarderToMakeAGoodKeyGen"); // = 26
// ONLY length of the EncryptKey string matters! So the following will generate the same key as above.
// EncryptKeyLength = strlen("--------------------------"); // = 26
UserNameLength = strlen(UserName);
for (i = 0; i NameEntered;
std::cout
JamesBond008 on 12:09 AM 02/27/2022: #include
#include
char* keygen(char* UserName)
{
char Key[256] = "";
int UserNameLength;
int EncryptKeyLength;
int i;
EncryptKeyLength = strlen("tryHarderToMakeAGoodKeyGen"); // = 26
// ONLY length of the EncryptKey string matters! So the following will generate the same key as above.
// EncryptKeyLength = strlen("--------------------------"); // = 26
UserNameLength = strlen(UserName);
for (i = 0; i NameEntered;
std::cout
DaBaddest on 2:43 PM 02/28/2022: Here is the algorithm used
string constStr = "tryHarderToMakeAGoodKeyGen";
for(int i=0; i
Shert on 3:00 PM 03/01/2022: Спасибо. Вот кей-ген на пайтон :_)
from operator import xor
name = input("Your name: ")
name_len = len(name)
password = ""
for i in range(0, name_len):
number = xor(0x1A, ord(name[i]))
number %= name_len
password += name[number]
print("Your password:", password)
input()
Sidd_Tim on 10:34 AM 03/10/2022: Username : ABCDEF
Password : BEFEFC
mara on 2:39 PM 03/13/2022: I need to patch the binary. You're allocation is not initialized with zero values. The beaviour the password can not validated correctly.
mara on 2:39 PM 03/13/2022: I need to patch the binary. You're allocation is not initialized with zero values. The beaviour the password can not validated correctly.
Edza on 8:45 AM 03/19/2022: This looks like a trojan virus
1337ReverseEngineer on 4:48 PM 07/20/2022: EASY!
My python keygen:
[python]
seed = "tryHarderToMakeAGoodKeyGen"
seed_len = len(seed)
username = "dqwd12d12t123t"
username_len = len(username)
encrypted = ""
for i in range(username_len):
a = username[i]
a = ord(a) ^ seed_len
rem = a % username_len
encrypted += username[rem]
print(encrypted)
[/python]
1. use username string of your choice
2. input that string into the crackme too
3. run python program and copy the printed string into the program (password)