Hacking how do I change permissions to my slccmpt01

  • Thread starter Deleted User
  • Start date
  • Views 6,807
  • Replies 34
D

Deleted User

Guest
OP
how do I change permissions to my slccmpt01 (I bricked it, I got a another users dump, but I know that I need to change the folders permssion to 0x666.) However it must be done with wupclient. I have python installed. However I'm a absolute noob at using python applications. So can somebody walk me through how to use wupclient step by step? and yes I mean I bricked my vwii
 
Last edited by ,
D

Deleted User

Guest
OP
You can't use another NAND Backup in your Console or you will HARD BRICK.
You must have your NAND Backup.
No nand Backup, dead.
you didn't read it all the way through. ITS SLCCMPT01 vwii! Plus I was already bricked on vwii. and I'm still fine. Its not going to hard brick get your facts straight.
 
D

Deleted User

Guest
OP
o shit. im sorry.
You can't access to vWii, right?
yep. and so I already replaced it with a functioning version via of another users slccmpt01 (vwii) however, to complete it I must change the permissions (OF THE FOLDER) or else It will still boot to a black screen. However I'm a complete noob at using python (which means I'm terrible at using wupclient) So I need help changing permissions through wupclient
 
Last edited by ,

asper

Well-Known Member
Member
Joined
May 14, 2010
Messages
942
Trophies
1
XP
2,030
Country
United States
You need to use wupserver-wupclient and his (not-so-friendly) commands. There is a TXT list somewhere on pastebin if I remember correctly.

Edit: or you can look inside wupclient.py files to see command syntax.
 
Last edited by asper,

nexusmtz

Well-Known Member
Member
Joined
Feb 17, 2016
Messages
1,386
Trophies
0
XP
1,425
Country
United States
I don't know how many things you have to change permissions on, but wupclient.py does have the chmod command. However, it doesn't have a getstat (it only has getstatfile, and that doesn't work on directories) so I don't know how you'll check your work other than trying to boot it.
Code:
c:\wupserver>py -i wupclient.py
0x55e044
0xfffcffeaL
0x0
>>> mount_slccmpt01()
0x55f044
0x0
0x0
>>> w.cd('/vol/storage_slccmpt01')
0
>>> w.ls()
     tmp/
     wfs/
     meta/
     import/
     shared2/
     shared1/
     title/
     ticket/
     sys/
>>> w.cd('tmp')
0
>>> w.mkdir('test',0x600)
0
>>> w.chmod('test',0x666)
chmod returned : 0x0
>>> w.chmod('test',0x777)
chmod returned : 0xfffcffdfL
>>> w.chmod('test',0x600)
chmod returned : 0x0
>>> w.chmod('test',0x666)
chmod returned : 0x0
>>> exit()
The example shows (using a directory in tmp) that you can do a chmod that seems to react appropriately based on whether the permission is valid. If getstat were there, you could display and confirm the mode, but it should be doing what you tell it to. If you understand the above, you probably realize that your commands after the mount could also be something like this:
Code:
w.chmod('/vol/storage_slccmpt01/tmp',0x666)
w.chmod('/vol/storage_slccmpt01/wfs',0x666)
w.chmod('/vol/storage_slccmpt01/meta',0x666)
w.chmod('/vol/storage_slccmpt01/import',0x666)
w.chmod('/vol/storage_slccmpt01/shared',0x666)
...
You can copy/paste into the python prompt, so if your PC has the list of folders/files that you need to change, you could make a list of commands with a text editor or Excel, and copy the results into the prompt (after checking the list very carefully, of course.)
 

Yabbeliten

New Member
Newbie
Joined
Mar 17, 2007
Messages
4
Trophies
0
XP
244
Country
United States
are there wildcards or additional attributes to be able to this recursively? some googling and learning python the past days led me to "os.walk" but I don't know how I would integrate it into this.
 
D

Deleted User

Guest
OP
Well im terrible at this. So maybe someone could write a python script or python app. that will recursively change permissions. OR if someone is smart enough make a mod in ftpiiu everywhere to keep folder changes. Because if you change the permissions on that it doesn't stay on the folder regardless if you changed it.
 

nexusmtz

Well-Known Member
Member
Joined
Feb 17, 2016
Messages
1,386
Trophies
0
XP
1,425
Country
United States
are there wildcards or additional attributes to be able to this recursively?
No, you'd have to specifically write the function in wupclient.py, just like cp vs. cpdir and dl vs. dldir. Fortunately, with those examples already in the script, it should not be difficult to learn how to recurse.
 
D

Deleted User

Guest
OP
No, you'd have to specifically write the function in wupclient.py, just like cp vs. cpdir and dl vs. dldir. Fortunately, with those examples already in the script, it should not be difficult to learn how to recurse.
ok, well can somebody link a working version of wupclient.py
 
D

Deleted User

Guest
OP
0x1ca042
0x0
0x0
I keep getting that error. Let me guess. thats because cold boot hax is installed?
EDIT: no setup works even with cold boot hax removed... If I use haxchi I get this error (which I do use mocha in all these setups)
0x1c8042
0xfffcffeaL
0x0
and then if I try to use it with hbl from the web browser it also fails.
and gives the first error....
and yes I did change the ip on line 30
and if I used mocha right away via webrowser exploit it gives me those two errors , and when I tried it a third time apparently my wiiu is refusing a connection according the error code. and fails to use line 32 and some other line. And honeslty I'm worried if I use the advanced mocha option which is the bottom most speaking about coldboot hax if I use that setting I will probably brick
EDIT2: I'm going to see if I can use my wireless card on my computer as a router and get the wiiu to comminucate there so no connection issues/hiccups can exist
 
Last edited by ,

nexusmtz

Well-Known Member
Member
Joined
Feb 17, 2016
Messages
1,386
Trophies
0
XP
1,425
Country
United States
0x1ca042
0x0
0x0
I keep getting that error.
That's not an error. Are you running python interactively (-i), like my example showed? If you don't you'll just get the command prompt back because you didn't tell it to do anything.

My example shows an 'error' (the long ffff code) because my WiiU already had one of the mounts when I ran the script. The first number you see is probably a handle, the second are return code zeros from the mount commands that are in the script.
 
Last edited by nexusmtz,
D

Deleted User

Guest
OP
That's not an error. Are you running python interactively (-i), like my example showed? If you don't you'll just get the command prompt back because you didn't tell it to do anything.

My example shows an 'error' (the long ffff code) because my WiiU already had one of the mounts when I ran the script. The first number you see is probably a handle, the second are return code zeros from the mount commands that are in the script.
what example? you didn't show anything
 

nexusmtz

Well-Known Member
Member
Joined
Feb 17, 2016
Messages
1,386
Trophies
0
XP
1,425
Country
United States
what example? you didn't show anything
I don't know how many things you have to change permissions on, but wupclient.py does have the chmod command. However, it doesn't have a getstat (it only has getstatfile, and that doesn't work on directories) so I don't know how you'll check your work other than trying to boot it.
Code:
c:\wupserver>py -i wupclient.py
0x55e044
0xfffcffeaL
0x0
>>> mount_slccmpt01()
0x55f044
0x0
0x0
>>> w.cd('/vol/storage_slccmpt01')
0
>>> w.ls()
     tmp/
     wfs/
     meta/
     import/
     shared2/
     shared1/
     title/
     ticket/
     sys/
>>> w.cd('tmp')
0
>>> w.mkdir('test',0x600)
0
>>> w.chmod('test',0x666)
chmod returned : 0x0
>>> w.chmod('test',0x777)
chmod returned : 0xfffcffdfL
>>> w.chmod('test',0x600)
chmod returned : 0x0
>>> w.chmod('test',0x666)
chmod returned : 0x0
>>> exit()
The example shows (using a directory in tmp) that you can do a chmod that seems to react appropriately based on whether the permission is valid. If getstat were there, you could display and confirm the mode, but it should be doing what you tell it to. If you understand the above, you probably realize that your commands after the mount could also be something like this:
Code:
w.chmod('/vol/storage_slccmpt01/tmp',0x666)
w.chmod('/vol/storage_slccmpt01/wfs',0x666)
w.chmod('/vol/storage_slccmpt01/meta',0x666)
w.chmod('/vol/storage_slccmpt01/import',0x666)
w.chmod('/vol/storage_slccmpt01/shared',0x666)
...
You can copy/paste into the python prompt, so if your PC has the list of folders/files that you need to change, you could make a list of commands with a text editor or Excel, and copy the results into the prompt (after checking the list very carefully, of course.)
You have to click the Show button to see what's under the tag. Are you one a tablet or phone that won't show spoiler tags? Anyway, it's py -i wupclient.py
 
D

Deleted User

Guest
OP
You have to click the Show button to see what's under the tag. Are you one a tablet or phone that won't show spoiler tags? Anyway, it's py -i wupclient.py
ok So I got everything working... Can I request a clean system menu for vwii? cause the user who gave me the backup has a black and red theme on it. So if possible can you give me the orignal version so I can inject that so my menu is "cleaner"
 
  • Like
Reactions: asper

nexusmtz

Well-Known Member
Member
Joined
Feb 17, 2016
Messages
1,386
Trophies
0
XP
1,425
Country
United States
ok So I got everything working... Can I request a clean system menu for vwii? cause the user who gave me the backup has a black and red theme on it. So if possible can you give me the orignal version so I can inject that so my menu is "cleaner"
That's awesome. Wish I could help. I don't actually mess around with the vWii side. Do you know what file it is, and are you a member on that iso site that might allow such a post? If it's a common thing to do, you might find a hit with a google on the file name.

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

[Release] vWii Theme Injector Oh, 0000001f.app
 
D

Deleted User

Guest
OP
ok So I got everything working... Can I request a clean system menu for vwii? cause the user who gave me the backup has a black and red theme on it. So if possible can you give me the orignal version so I can inject that so my menu is "cleaner"
Hit me up with a PM and we will work it out.
Before mods attack me: Outside of GBATemp.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: So basically, that's a cheat, huh?