#include #include #include int rutinpart1(char user[50]) ; int rutinpart2(char user[50]) ; main() { struct { int part1,part2,part3 ; } serial ; char ctmailer[50] , *username = "CTMAILER" ; int i ; clrscr() ; printf("Key Generator CTMailer by flag eRRatum\n") ; printf("Homepage at : http:\\\\all.at\\ekh") ; tryagain : printf("\nEnter User Name : ") ; gets(ctmailer) ; if (*ctmailer=='\0') { printf("ERROR : You Should Enter a username !!!") ; goto tryagain ; } strcat(username,ctmailer) ; username=strupr(username) ; serial.part1=rutinpart1(username) ; serial.part2=rutinpart2(username) ; if (serial.part1<=serial.part2) serial.part3=(serial.part2-serial.part1)+100 ; else serial.part3=(serial.part1-serial.part2)+100 ; printf("Then your serial is : %d-%d-%d\n",serial.part1,serial.part2,serial.part3) ; textcolor(LIGHTRED) ; cprintf("Visit our page for more cracks !!!") ; return 0 ; } int rutinpart1(char user[50]) { int i ; unsigned long general=0,general2=0 ; for (i=0;i