Jump to content
Tuts 4 You

keygen source in C for deurus keygenme#02


GioTiN

Recommended Posts

Posted

hi , here is keygen source in C for deurus keygenme#02 by me

here is keygenme link :

http://crackmes.de/users/deurus/keygenme02/

here is source of keygen by me in C language:


gen(HWND hWnd)
{
char szname[1024]="",szserial[1024]="",final[1024]="";
long int s1=0,s2=0,s3=0,s4=0;
int j=0;
char *lpname="";
lpname = new char[32];
DWORD len=32; if (GetDlgItemText(hWnd,IDNAME,szname,256)<4)
{
MessageBox(hWnd,"Name Length Must > 3","hey!",MB_ICONINFORMATION);
return 0;
}
else
{ for (int i=0;i<(lstrlen(szname)+1);i++)
{
s1=szname[i]+0x1CB1;
_asm{ SHL s1,9}
s2+=(s1+(szname[i]-0x40));
}
wsprintf(szserial,"%i",s2);
SetDlgItemText(hWnd,IDSERIAL,szserial);
for (int k=0;k<(lstrlen(szname)+1);k++)
{ s3+=(szname[1]*0x144)+(szname[4]*5);
} GetUserName(lpname,&len); for (int l=0;l<(lstrlen(lpname)+1);l++)
{
s4+=((lpname[l]*7)+0xF7C5);
}
wsprintf(final,"A-%s-B-%u-C-%u",lpname,s4,s3); SetDlgItemText(hWnd,IDACTIVE,final);
}return 0;
}

good luck,

GioTiN

Posted

hey,

instaead of _asm{ SHL s1,9} you can use s1 <<= 9;

Posted

hi T-rad ,

thanks for your note but i dont know C language very good ;) anyway thanks :)

GioTiN

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...