Homebrew WiiU Homebrew Development

wj44

Well-Known Member
Member
Joined
Jun 18, 2015
Messages
477
Trophies
0
XP
506
Country
Gambia, The
@Goku Junior
First error fix:
Mini tutorial:

I admit, the tutorial for powerpc-eabi-gcc isn't straight forward, like the python one, so:
Code:
echo "PATH=\$PATH:/cygdrive/c/devkitPro/devkitPPC/bin" >> .bash_profile
source .bash_profile
which powerpc-eabi-gcc

Also, Windows Defender will say that the payload[*].html files are malicious... Don't worry about it. :P

Edit:
Oh, and than test it with, for example:
"python build.py osscreenexamples/template"
second error fix:
Didn't work.
But uhmm.. Just tried making a .bat solution. Just wrote
Code:
python build.py examples\helloworld
pause
into the .bat and let it running. No error message.
Now I have the following inside of www\helloword
View attachment 20846

Is this all right?
I will do a test run, now

EDIT: It froze the image but did not write any text on the screen (if this exploit was supposed to do so).
 

NWPlayer123

Well-Known Member
Member
Joined
Feb 17, 2012
Messages
2,642
Trophies
0
Location
The Everfree Forest
XP
6,693
Country
United States
Oh, yeah, it's not finding powerpc-eabi-gcc which is what it needs to compile, I think newer versions of DevKitPro changed the filename, go look and see if that filename exists and if it is then add it to the path (haven't updated to 10 yet but I assume it's the same process, control panel > search "advanced system settings" > load it and click on the button in the bottom right I think says environment variables or something > scroll down to path in that lower part and edit it, add a semicolon at the end to add a new entry to it and paste the path to wherever powerpc-eabi-gcc is. It should've automatically added it though :\ I'd try uninstalling and reinstalling first
 
  • Like
Reactions: Goku Junior

Goku Junior

Well-Known Member
Member
Joined
Dec 27, 2013
Messages
951
Trophies
0
Age
23
Location
Buenos Aires, Argentina
XP
482
Country
Argentina
Thanks both of you :D , now it's working! the problem was the path variable, Devkit seems to don't add the PowerPC-eabi.gcc, I done what you said and now it's working, thank you :) .

EDIT: Now, to send Python commands to the Wii U, I should use the rpc example? I mean, what I need to compile to make the Wii U listen to my RPC commands.
I tried the first time and my Wii U crashed with a black screen with Little dead pixels.

EDIT2: I get it working a Little, I still can't use the RPC but at least the console shows "Invalid RCP command" How can I fix that ?
 
Last edited by Goku Junior,

Marionumber1

Well-Known Member
Member
Joined
Nov 7, 2010
Messages
1,234
Trophies
3
XP
4,045
Country
United States
Thanks both of you :D , now it's working! the problem was the path variable, Devkit seems to don't add the PowerPC-eabi.gcc, I done what you said and now it's working, thank you :) .

EDIT: Now, to send Python commands to the Wii U, I should use the rpc example? I mean, what I need to compile to make the Wii U listen to my RPC commands.
I tried the first time and my Wii U crashed with a black screen with Little dead pixels.

EDIT2: I get it working a Little, I still can't use the RPC but at least the console shows "Invalid RCP command" How can I fix that ?

NWP answered the same thing for you in another topic, if you didn't see:
 
  • Like
Reactions: Goku Junior

BullyWiiPlaza

Nintendo Hacking <3
Member
Joined
Aug 2, 2014
Messages
1,932
Trophies
0
XP
2,477
Country
Germany
Thanks both of you :D , now it's working! the problem was the path variable, Devkit seems to don't add the PowerPC-eabi.gcc, I done what you said and now it's working, thank you :)
Yeah, it doesn't. That's something that costed me some time to figure out as well but I made a video tutorial a while back. You can find in the first post which actually shows adding the correct path to the path system environment variable. Just saying, it was all there already. :P
 
  • Like
Reactions: Goku Junior

Goku Junior

Well-Known Member
Member
Joined
Dec 27, 2013
Messages
951
Trophies
0
Age
23
Location
Buenos Aires, Argentina
XP
482
Country
Argentina
Sorry about all of that, I get a Little (too much :/ ) mad about this things, I just calmed down with this, sorry about all of that xD.
@BullyWiiPlaza I saw your video tutorial, but the path you entered is for Python working in CMD, I used the path you added before asking here for PowerPC-eabi-gcc, but It didn't work, it only worked when I tip Python in CMD and it shows it's versión and all of that stuff.
I apologise again about all of that... but thank you for answering me :D .

EDIT: Sorry @BullyWiiPlaza I just realised that you had entered that path, I know what I did it wrong and it was because I was using this exploit like the 4.1.0/5.0.0 one, they work different and well, that's it... Thanks for your help too :) .
 
Last edited by Goku Junior,

Expression

Member
Newcomer
Joined
Aug 10, 2015
Messages
9
Trophies
0
Age
28
XP
61
Country
Mexico
homebrew channel now exist? or i just dream that?

--------------------- MERGED ---------------------------

i just want to ask a favor , who can send me a pm and tell me what means exploits and uses and tell me more about wii u hacking more detailed info
thanks
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,650
Country
France
exploit = exploitation of a vulnerability.
vulnerability = a bug in the code that can be exploited (see above) to edit the original code and insert your own code.

these "location" where you can write code and make the hardware run it is used to execute specific action to get access to usually restricted memory area, or even better to existing kernel function.

Kernel = kernel is the hardware core, usually not accessible by the end user or even a game, or a program launched on the console. only the "operating system" of the console is supposed to have kernel access, it's used to manage the access right for each application (responsible of blocking some memory addresses, or preventing a program from accessing specific hardware, etc.)

So, with exploiting a vulnerability, you can run your own code to redirect the execution of a program to a place which it shouldn't access.
There are two possibilities with this :
- the vulnerability is located on a "user mode", and you can only access what the current program has right to access (for example, the browser has access to wii controller, but not to USB) so your code can also access only the controller, not usb.

- the vulnerability is located on a "kernel mode", it means you have access to the low level administration right of the console. Your own code will have access to ALL the existing functions.


Often, the hacking is done in multiple layer : first you need an entry point (a bug in the browser that you have access : URL and display pages) providing you user level access to modules that the browser have access (cookies manipulation, cache, etc.).
once you have access the the application accessible module, you need to find a bug (a vulnerability) in what's accessible to see if you can run another exploit, etc.
the purpose being to reach a place where you get full control of the console (kernel access).

Exploits are often a time race, for example if there's a vulnerability in the cookie module of the browser, you need to make the browser crash, but write your own code in the cookie memory before the console delete it due to the crash. Sometime, it's not possible, or random. That's why current hacks are not "stable", sometime it works because the console didn't clean the memory yet, sometime the memory is already not accessible to write your code to it.

What is possible right now : publicly released, only user mode homebrew.
you create your homebrew, and "copy" the code to the browser's vulnerability place.
when the browser run its code to display the URL, it will run your own code instead because it didn't have verification if the code was official or not.
User mode is restricted to what the browser has access too (and is very limited : TV screen output, WiiU Gamepad, mayyyybe the SD but I'm not sure)

Kernel mode hack is still in development/progress and the hackers need to find a stable method to inject their own code which work every time and for every regions.
 

Expression

Member
Newcomer
Joined
Aug 10, 2015
Messages
9
Trophies
0
Age
28
XP
61
Country
Mexico
exploit = exploitation of a vulnerability.
vulnerability = a bug in the code that can be exploited (see above) to edit the original code and insert your own code.

these "location" where you can write code and make the hardware run it is used to execute specific action to get access to usually restricted memory area, or even better to existing kernel function.

Kernel = kernel is the hardware core, usually not accessible by the end user or even a game, or a program launched on the console. only the "operating system" of the console is supposed to have kernel access, it's used to manage the access right for each application (responsible of blocking some memory addresses, or preventing a program from accessing specific hardware, etc.)

So, with exploiting a vulnerability, you can run your own code to redirect the execution of a program to a place which it shouldn't access.
There are two possibilities with this :
- the vulnerability is located on a "user mode", and you can only access what the current program has right to access (for example, the browser has access to wii controller, but not to USB) so your code can also access only the controller, not usb.

- the vulnerability is located on a "kernel mode", it means you have access to the low level administration right of the console. Your own code will have access to ALL the existing functions.


Often, the hacking is done in multiple layer : first you need an entry point (a bug in the browser that you have access : URL and display pages) providing you user level access to modules that the browser have access (cookies manipulation, cache, etc.).
once you have access the the application accessible module, you need to find a bug (a vulnerability) in what's accessible to see if you can run another exploit, etc.
the purpose being to reach a place where you get full control of the console (kernel access).

Exploits are often a time race, for example if there's a vulnerability in the cookie module of the browser, you need to make the browser crash, but write your own code in the cookie memory before the console delete it due to the crash. Sometime, it's not possible, or random. That's why current hacks are not "stable", sometime it works because the console didn't clean the memory yet, sometime the memory is already not accessible to write your code to it.

What possible right now : user mode homebrew.
you create your homebrew, and "copy" the code to the browser's vulnerability place.
when the browser run its code to display the URL, it will run your own code instead because it didn't have verification if the code was official or not.
thanks so much buddy now i can understand others trheads :V
 

mariogamer

Well-Known Member
Member
Joined
Aug 12, 2015
Messages
1,256
Trophies
0
Age
28
XP
790
Country
Canada
there are,in pyGecko,a .exe file I can launch in linux?because,if I understand, it is just a python build..,

when I say exe file,I mean a executable file in linux.
 

deformyer

Well-Known Member
OP
Newcomer
Joined
Jun 18, 2015
Messages
76
Trophies
0
XP
126
Country
Belgium
there are,in pyGecko,a .exe file I can launch in linux?because,if I understand, it is just a python build..,
PyGecko just consist of a couple of functions you can call, not any executable. Just import tcpgecko.py in a python shell and start calling some functions like I show in the thread.
 
Last edited by deformyer,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Good deal. I love Sun chips. I also love Rye chips, and had to order some from Amazon cause can't find in stores much anymore.
  • K3Nv2 @ K3Nv2:
    Fucking subways like that'll be $3
    +1
  • BigOnYa @ BigOnYa:
    Is funny how they replaced the $5 foot long sub, with a 1" wide $5 foot long cookie or cinna stick, cheap asses
  • K3Nv2 @ K3Nv2:
    They still have but it's like $10 cookies honestly not a bad deal for $5
  • K3Nv2 @ K3Nv2:
    Bidenomics
  • BigOnYa @ BigOnYa:
    True, everything almost double nowadays
  • K3Nv2 @ K3Nv2:
    But I could go to Aldis and get a cookie pie for like $4
  • BigOnYa @ BigOnYa:
    Or use your new cooking pan and make some, don't mind the Old leftover foods mixed in.
  • K3Nv2 @ K3Nv2:
    Just eat plain flour around cops
  • BigOnYa @ BigOnYa:
    thats Gluten abuse, they would shoot you
  • K3Nv2 @ K3Nv2:
    Depends on the color chart
  • K3Nv2 @ K3Nv2:
    Wheat flour has a lower chance at survival
  • Veho @ Veho:
    Isn't wheat flour the whitest of the white?
  • Veho @ Veho:
    Rye would get shot at sight.
    +1
  • K3Nv2 @ K3Nv2:
    Depends
    img_5941-1.jpeg
    everyone mixing their flour now days
  • Veho @ Veho:
    That's whole wheat, right? Because all purpose flour is also made from wheat.
  • K3Nv2 @ K3Nv2:
    I'm not a flour expert I just snort it
  • BigOnYa @ BigOnYa:
    There also is black rice flour, and its really black colored
  • Veho @ Veho:
    Bruh that's gray.
  • K3Nv2 @ K3Nv2:
    That's ancientboi color
  • Veho @ Veho:
    You need to add some activated charcoal.
  • BigOnYa @ BigOnYa:
    I've seen some that are dark dark, my wifey uses it sometimes in her bs recipes
    BigOnYa @ BigOnYa: I've seen some that are dark dark, my wifey uses it sometimes in her bs recipes