[Release] Static HTML/JavaScript GW multilauncher

Discussion in '3DS - Flashcards & Custom Firmwares' started by duke_srg, Jan 18, 2015.

  1. duke_srg
    OP

    duke_srg GBAtemp Advanced Maniac

    Member
    1,865
    587
    Mar 1, 2011
    Serbia, Republic of
    Moscow
    Refactored GateWay-based 3DS Web browser exploit.
    screenshot.jpg screen3.jpg screen4.jpg screenshot2.jpg
    Features:
    - single html file solution
    - custom launcher file name as a HTTP GET parameter (must be placed in the root of 3DS SD card)
    - custom shortcut icon for 3DS WEB browser tab/bookmark as a HTTP GET parameter (must be placed on the same http server with the html file)

    Limitations:
    - GateWay launcher looks like can't be renamed
    - maximum launcher filename length is 24 characters

    3DS Browser version compatibility:
    1.7412 (fw 2.0.0) - please check and respond
    1.7455 (fw 2.1.0) - please check and respond
    1.7498 (fw 4.0.0) - work in progress
    1.7552 (fw 5.0.0) - please check and respond
    1.7567 (fw 7.1.0) - working

    Examples (hosted on my site, index.html is the default web page):
    http://dukesrg.dynu.com/3ds/go - load GateWay Launcher.dat, the default favicon.ico used
    http://dukesrg.dynu.com/3ds/go?RegionThree.dat - load RegionThree.dat, the default favicon.ico used
    http://dukesrg.dynu.com/3ds/go?RegionThree.dat&RegionThree.ico - load RegionThree.dat, RegionThree.ico is used
    http://dukesrg.dynu.com/3ds/go?rxTools.dat - load rxTools.dat, the default favicon.ico used
    http://dukesrg.dynu.com/3ds/go?rxTools.dat&rxTools.ico - load rxTools.dat, rxTools.ico is used
    http://dukesrg.dynu.com/3ds/go?&Launcher.ico - load GateWay Launcher.dat, Launcher.ico is used

    FAQ:
    Q: Can I host this file on my local web server?
    A: Yes, just download attached index.txt, rename to index.html

    Q: Can I host it locally on Windows?
    A: Yes. Check the built-in Internet Information Services (IIS) component is enabled in your system, and place index.html into the web root folder (c:\inetpub\wwwroot by default)

    Q: What is the server requrements?
    A: It should run on absolutely any HTTP server, no PHP-Pyton-Perl-ASP-whatever is required, just dumb HTTP server.

    Q: My phone/router/fridge have a web-server, can it host this file
    A: Yes, as long as you're able to put and html file into it and load it by HTTP protocol
     

    Attached Files:

    Last edited by duke_srg, Feb 26, 2016 - Reason: dukesrg.no-ip.org changed to dukesrg.dynu.com


  2. Fishaman P

    Fishaman P Speedrunner

    Member
    3,239
    505
    Jan 2, 2010
    United States
    Wisconsin
    So we'd ideally have a lightweight webserver running on our PCs, and this would be future-proof?
     
  3. duke_srg
    OP

    duke_srg GBAtemp Advanced Maniac

    Member
    1,865
    587
    Mar 1, 2011
    Serbia, Republic of
    Moscow
    Yes, any web server should work!
     
    LegendaryFighter and Margen67 like this.
  4. Stremon

    Stremon GBAtemp Regular

    Member
    116
    30
    Sep 30, 2014
    France
    Nerima, Tokyo
    Sounds great! I was wondering, is there a way to open a html file directly from the 3DS SD card? I guess it's not possible, by I am still asking just in case ;)
     
    Margen67 likes this.
  5. Fishaman P

    Fishaman P Speedrunner

    Member
    3,239
    505
    Jan 2, 2010
    United States
    Wisconsin
    Great, looking forward to the all-in-one version!
    Hell I could probably get my DS to serve hacks to my 2DS
     
  6. zoogie

    zoogie simple pimp tool

    Member
    6,236
    7,906
    Nov 30, 2014
    United States
    This is something I wrote and kinda didn't think anyone else would want it as most have android phones.
    Somebody might find it useful anyway (as evidence by this thread), so I'll just go ahead and share it for fun.

    Its a python http server that has the gateway payloads served statically with a javascript firmware selector just like duke_srg's program. It does automatically grab your local ip and make a QR url for you to scan so I guess that's cool. You need python 2 or 3 (2 recommended). Have fun.
     

    Attached Files:

    sirocyl and Margen67 like this.
  7. duke_srg
    OP

    duke_srg GBAtemp Advanced Maniac

    Member
    1,865
    587
    Mar 1, 2011
    Serbia, Republic of
    Moscow

    It toooo complicated for the user. All you need for my version is two files and a running IIS bundled withalmost any Windows.
     
  8. zoogie

    zoogie simple pimp tool

    Member
    6,236
    7,906
    Nov 30, 2014
    United States
    lol, all you have to do is double click on the START server script and scan the QR with the 3ds.
     
    krisztian1997 and Margen67 like this.
  9. Stremon

    Stremon GBAtemp Regular

    Member
    116
    30
    Sep 30, 2014
    France
    Nerima, Tokyo
    the bat file says py is not recognized, I guess I have something special to do after installing python 2?
     
  10. duke_srg
    OP

    duke_srg GBAtemp Advanced Maniac

    Member
    1,865
    587
    Mar 1, 2011
    Serbia, Republic of
    Moscow
    You need to install python first in your case :)
     
  11. zoogie

    zoogie simple pimp tool

    Member
    6,236
    7,906
    Nov 30, 2014
    United States
    You may have to change the bat script to say "python" instead of "py -2". I guess the version arguments only work when you install more than one version of python. Not sure.
     
  12. Stremon

    Stremon GBAtemp Regular

    Member
    116
    30
    Sep 30, 2014
    France
    Nerima, Tokyo
    yes indeed it's working, thanks! :D
     
    Margen67 likes this.
  13. duke_srg
    OP

    duke_srg GBAtemp Advanced Maniac

    Member
    1,865
    587
    Mar 1, 2011
    Serbia, Republic of
    Moscow
    Fishaman P and All, the all-in-one version is ready!
    Checked on fw 9.2, so response from the lower version browsers will be great, because several GateWay JavaScript code was rewritten.
     
  14. Stremon

    Stremon GBAtemp Regular

    Member
    116
    30
    Sep 30, 2014
    France
    Nerima, Tokyo
    Impressive! Many thanks, I will try that :D
     
    Margen67 likes this.
  15. duke_srg
    OP

    duke_srg GBAtemp Advanced Maniac

    Member
    1,865
    587
    Mar 1, 2011
    Serbia, Republic of
    Moscow
    A slightly optimized version is coming, no major features though.
     
    Margen67 and Stremon like this.
  16. duke_srg
    OP

    duke_srg GBAtemp Advanced Maniac

    Member
    1,865
    587
    Mar 1, 2011
    Serbia, Republic of
    Moscow
    Margen67 and Stremon like this.
  17. duke_srg
    OP

    duke_srg GBAtemp Advanced Maniac

    Member
    1,865
    587
    Mar 1, 2011
    Serbia, Republic of
    Moscow
    Shrinked a file a bit more, added screenshots and icons for GW and regionthree launchers (available to download from my site directly).
     
  18. Nuxx20

    Nuxx20 GBAtemp Regular

    Member
    244
    86
    Jan 6, 2015
    United States
    Can someone post a tutorial for Mac users?
     
  19. safkjgs

    safkjgs Newbie

    Newcomer
    8
    0
    Oct 17, 2007
    United States
    Great job Duke
     
  20. duke_srg
    OP

    duke_srg GBAtemp Advanced Maniac

    Member
    1,865
    587
    Mar 1, 2011
    Serbia, Republic of
    Moscow
    Nuxx20 just google for "os x http server", any solution will work
     
    Nuxx20 likes this.