软讯网络 > 网络安全 > 黑客技术 > WinZIP.Self.Extractor.v2.2.Final注册机
【标 题】:WinZIP.Self.Extractor.v2.2.Final注册机
【关键字】:
c,IP,v2,in,Win,to,ZIP,or,Extract,Wi,Fi,WinZIP,Self,Extractor,v2,Final
【来 源】:网络
WinZIP.Self.Extractor.v2.2.Final注册机
标 题:WinZIP.Self.Extractor.v2.2.Final.W9xNT2K.Incl.Keymaker.Source.Code-CORE (1千字)
发信人:1212
详细信息:
//
// WinZIP Self-Extractor v2.2 Final Keymaker
// Coded by [eGIS!/CORE].
//
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
typedef unsigned char BYTE;
typedef unsigned int WORD;
typedef unsigned long DWORD;
void main( void )
{
char name[ 50 ], *p = name;
WORD k1 = 0, k2 = 0, k, i;
printf( "\n ._______/\\__________/\\_______/\\___________.\n"
" / _____\\_ ___ \\_____ \\ _____/\n"
"/ \\ \\ _\\ / / /__ __\\___\n"
"\\____________/__________\\___\\____ \\________/\n"
"+-ds-----------+ C.O.R.E..2.K +- \\_/ -------+\n\n"
"WinZIP Self-Extractor v2.2 Final Keymaker (c) by Egis/CORE.\n\nEnter your name: " );
gets( name );
strlwr( name );
i = 1;
while( *p ) {
if( !isalpha( *p ) ) {
p++;
continue;
}
k1 += ( i++ ) * ( WORD ) *( p++ );
}
p = name;
while( *p ) {
if( !isalpha( *p ) ) {
p++;
continue;
}
k = *p;
k <<= 8;
for( i = 0; i < 8; i++ ) {
if( ( k ^ k2 ) & 0x8000 ) {
k2 <<= 1;
k2 &= 0xffff;
k2 ^= 0x1021;
} else {
k2 <<= 1;
k2 &= 0xffff;
}
k <<= 1;
k &= 0xffff;
}
p++;
}
sprintf( name, "%03u", k1 );
sprintf( name + 3, "%03u", k2 + 0x9dd );
*( name + 6 ) = '\0';
printf( "\nYour registration code: %s\n", name );
}
|