Hacking WiiLauncher v0.2 easter day release

conanac

Be an Angel
OP
Member
Joined
Sep 13, 2009
Messages
267
Trophies
1
XP
329
Country
United States
I managed to find some time during a couple of weekends to use libcurl for regaining the ability to download cheat codes from geckocodes.org website. Since it is release on the easter day, I think I need to offer an easter egg in this version (reusing the code from Andy Sloane, a past winner of the 2006 international obfuscated c code contest). The video below (not in good quality) shows that Homer Simpson easter egg, and the examples of downloading cheat codes.

You could find more information about this app on either wiibrew site or googlecode site

Cheers.

 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
Thanks for trying libcurl with geckocode.
I found libcurl when trying to add 302 redirect to USBGX, but I didn't want to add a new lib in USBGX for 302 error only. I guess it's also useful for geckocode.
I'm still wondering what's detected by cloudlflare which makes libcurl working but not the older method.

The sent header is different?
or Is it the cookie presence? (though, on first connexion there's no cookie stored yet. The server sends it after you request the URL so you shouldn't need to retry the same URL to download the file, right? there's no 302 redirect to tell to automatically retry the URL)


I'll do some tests.
Thanks.

Edit:
Is Cyassl required for curl too?

PS: Nice ascii animation :grog:
I miss intros in apps
 

TheChield

Ugly Troll
Member
Joined
Jul 10, 2013
Messages
210
Trophies
0
XP
112
Country
France
Nice job !
I tried to compile it but libcurl is missing and wiibrew seems to be offline...
Sloane.c gives a lots of warnings, very nice obfuscation too.
 

conanac

Be an Angel
OP
Member
Joined
Sep 13, 2009
Messages
267
Trophies
1
XP
329
Country
United States
This question may be answered easily but can you use codes on games from your USB hard drive or just games from the actual disc drive?

I have not released a version that could be used for loading the games from USB hard-drive (e.g. in SNEEK environment). Currently, it is similar to Gecko-OS which mainly be used with retail discs and channels.

Thanks for trying libcurl with geckocode.
The sent header is different?
or Is it the cookie presence? (though, on first connexion there's no cookie stored yet. The server sends it after you request the URL so you shouldn't need to retry the same URL to download the file, right? there's no 302 redirect to tell to automatically retry the URL)

Is Cyassl required for curl too?

I just used the default setting (following WiiBrowser) and it worked ok for me so I have not tried different ways (which could be more efficient, etc). When I compiled it, I think it asked for cyassl so I included it in the linker (and I used/copied the compiled library files from WiiBrowser).

I tried to compile it but libcurl is missing and wiibrew seems to be offline...

I forgot to add *.a in the global setting of my svn so they did not get uploaded. They are in the repository now in case you want to try again.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
I tried to add libcurl to usbloadergx, but it conflicts with other libraries already in use (sockaddr already defined in libogc/network.h, etc.)
That will not be easy to fix for me. I'll use another way to bypass cloudflare and share it if it works.

Thanks for your homebrew.
 

TheChield

Ugly Troll
Member
Joined
Jul 10, 2013
Messages
210
Trophies
0
XP
112
Country
France
I forgot to add *.a in the global setting of my svn so they did not get uploaded. They are in the repository now in case you want to try again.
Works fine now !
I tried to add libcurl to usbloadergx, but it conflicts with other libraries already in use (sockaddr already defined in libogc/network.h, etc.)
That will not be easy to fix for me. I'll use another way to bypass cloudflare and share it if it works.
Thanks for your homebrew.
Did you try to remove the "#include "network.h" "clean and rebuild ? (This should be done everywhere the line can be found)
There are no reasons of a conflict if you never include network.h.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
network.h is required for other functions the loader is using, and curl require sys/socket.h which use the same struct name defined in libogc/lib/network.h
If I remove network.h I will have to rewrite all sources using network functions.
I would like to fix only the geckocodes download, other things are working fine. I'm trying to figure out the difference with curl, but it's currently a dead-end.

I added support for cookies but it didn't help.
I tried different header and user agent.
I don't understand which "browser signature" they can see but the http_header.
maybe socket or packet size, what's left is sniffing TCP packets from both homebrew.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Well start walking towards them +1