Hacking The new Wii's encryption method changed?

thiefstar

Well-Known Member
Newcomer
Joined
Sep 13, 2009
Messages
48
Trophies
0
XP
78
Country
hi,
I have compiled these


CODE#include "stdafx.h"
#include "stdlib.h"
#include "memory.h"

static int __sysconf_buffer_txt_decrypted = 0; // When 0, perfect decryption, when 1, 2 byte reencryption.
static char __sysconf_txt_buffer[0x101];

int __SYSCONF_EndOfTextOffset(void){
ÂÂÂÂint i;
ÂÂÂÂint offset = 0;
ÂÂÂÂ
ÂÂÂÂfor (i = 0; i < 0x100; i++)
ÂÂÂÂÂÂÂÂif (!memcmp(__sysconf_txt_buffer+i, "\r\n", 2)) // searching for wrong line break?
ÂÂÂÂÂÂÂÂÂÂÂÂoffset = i;
ÂÂÂÂÂÂÂÂ
ÂÂÂÂoffset += 2; //Only 2 bytes that the function returns.
ÂÂÂÂreturn offset;
}

void __SYSCONF_DecryptEncryptTextBuffer(void)
{
ÂÂÂÂunsigned long key = 0x73B5DBFA; // Magic stuffz here zomg
ÂÂÂÂint i;
ÂÂÂÂchar *end = (char*)__sysconf_txt_buffer;
ÂÂÂÂ
ÂÂÂÂif (__sysconf_buffer_txt_decrypted)
ÂÂÂÂÂÂÂÂend += __SYSCONF_EndOfTextOffset();
ÂÂÂÂ
ÂÂÂÂfor(i=0; i
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
nope. it looks like you just arent telling it to decrypt the full buffer. something is stopping before it does the full size. make sure to tell it to use 0x100 just to be safe.
 

thiefstar

Well-Known Member
Newcomer
Joined
Sep 13, 2009
Messages
48
Trophies
0
XP
78
Country
giantpune said:
nope. it looks like you just arent telling it to decrypt the full buffer. something is stopping before it does the full size. make sure to tell it to use 0x100 just to be safe.


Thanks, got it working.
laugh.gif
 
General chit-chat
Help Users
  • No one is chatting at the moment.
    T tempBOT: tastymeatball has left the room.