Hacking Web-Browser POC

  • Thread starter Deleted User
  • Start date
  • Views 8,344
  • Replies 52
  • Likes 3

Zan'

2F88744FEED717856386400A44BBA4B9CA62E76A32C715D4F
Member
Joined
Oct 8, 2015
Messages
387
Trophies
0
Age
32
XP
271
Country
Here is a small set of instructions I quickly typed up to access that hidden browser. It makes use of Charles Proxy and Apache, but I'm sure that when the thing they made in Visual Studio gets released, this won't be neccessary anymore...
If similar instructions were already posted, I do apologize in advance!

1) Set up and install Charles Proxy + Apache server if you haven't already, then open Charles proxy only.
2) Grab the index.html from the SwitchDNS repo that 'Temp member parrotgeek1 kindly set up for us. Place this html file into the "www" folder of your apache installation.
3) On your Switch, go to Settings -> Internet Settings -> YourConnectedRouter -> Change Settings, and turn Proxy Settings on. Use your PC's local IP address as the server, and use the port number configured in Apache (default is 80) as the port number. When done, you can open up apache on your PC.
(To change this port, if for some reason it doesn't work, change all instances of ":80" in 'httpd.conf' and 'httpd-vhosts.conf' to a different port number, such as ":1337".)
4) Now save your settings, and test your connection. If everything went smoothly, you should see that Charles will ask if your Switch's IP address should be allowed to connect. Click 'Yes/Allow', and you should see "http://conntest.nintendowifi.net" pop up on the left-hand side of the window. Right-click on it, and select "map remote".
5) In the 'map to' section of the window, type "http" in the protocol field, then your PC's local IP address in the host field, and the port number you configured for apache in the port field. Then click "OK".
6) Choose "test connection" again on the Switch. The connection should now fail, but when you click off the message, you should now be redirected to the index.html page hosted on your PC, through the hidden web browser!
7) Now enter a link to a page (such as https://google.co.uk or something; it can be anything really) and now it should take you to that page you requested! :)
I achieved the same a lot easier by just setting up a redirect from my router. But whatever works for you.
 
  • Like
Reactions: Deleted User
D

Deleted User

Guest
OP
The DNS didn't seem to work for me, that's all. I didn't mean to cause any harm by setting up a harder-looking method; I just wanted to set up a workaround that finally actually allowed me to get it working. Again, sorry if there are better methods than this.
 
  • Like
Reactions: migles

Zan'

2F88744FEED717856386400A44BBA4B9CA62E76A32C715D4F
Member
Joined
Oct 8, 2015
Messages
387
Trophies
0
Age
32
XP
271
Country
Last edited by Zan',

jakibaki

Well-Known Member
Member
Joined
Mar 3, 2017
Messages
296
Trophies
0
Age
25
XP
1,816
Country
Germany
You can always host the dns yourself if you mind anyone seeing what domains you're going to (not even the stuff after the /)...

That is still a lot easier than using charles to proxy your whole traffic just for one redirect.
 
Last edited by jakibaki,

Shadowfied

Well-Known Member
Member
Joined
Dec 6, 2014
Messages
2,405
Trophies
1
Age
28
XP
3,666
Country
Using Charles works, YouTube also works up to 720p. You neede to click on the progressbar for the video player to open though.
 

Primalus

Well-Known Member
Newcomer
Joined
Jan 27, 2017
Messages
60
Trophies
0
XP
1,026
Country
United States
If it means anything, I logged into Twitter from the "web browser" on the Switch. I then got an email from Twitter saying that I logged into Safari. So perhaps the Switch uses Safari as the base for its browser? (I didn't log into anything else on Twitter in like the past month, so I know for certain that it's the Switch)
 

Shadowfied

Well-Known Member
Member
Joined
Dec 6, 2014
Messages
2,405
Trophies
1
Age
28
XP
3,666
Country
Plex doesn't work BibelCry

Kissanime works, so I'm assuming most HTML5 compatible somewhat-normal-video-streams work. My own HLS stream running through nginx-rtmp and played back through VideoJS does not work.
hMw3SnR.jpg
 

chocoboss

Well-Known Member
Member
Joined
Jun 25, 2016
Messages
569
Trophies
0
Age
35
Location
FRANCE
XP
1,750
Country
France
Can someone get useragent of the switch to get more information of the web browser ?

Maybe something already working can be used ( we can test exploit from vita / ps4 )
 

Shadowfied

Well-Known Member
Member
Joined
Dec 6, 2014
Messages
2,405
Trophies
1
Age
28
XP
3,666
Country
SoundCloud does an interesting thing where it gives you two errors. First is "You need flash player" but also, "this track is not available in Sweden" in my case.
LeGD09n.png


The "browser" doesn't play MP3 / OGG / AIFF...but it does play AAC.....
wY8Qrk5.png


Managed to login to my site (reCaptcha works)
Awesome, now I can blog from the switch /s (CKEditor & elFinder works)

Twitch is broken to hell, not that I expected any different since it's a heavy site
 

Zan'

2F88744FEED717856386400A44BBA4B9CA62E76A32C715D4F
Member
Joined
Oct 8, 2015
Messages
387
Trophies
0
Age
32
XP
271
Country
601.6 seems to be really recent don't know if there is exploit yet
At least 1 year "recent". And yeah there are a couple of exploits for that version.
But if Nintendo wasn't stupid they fixed them or at least made them useless for their device. We all know Nintendo is great writing shitty fixes.
 
D

Deleted User

Guest
OP
Here is a small set of instructions I quickly typed up to access that hidden browser. It makes use of Charles Proxy and Apache, but I'm sure that when the thing they made in Visual Studio gets released, this won't be neccessary anymore...
If similar instructions were already posted, I do apologize in advance!

1) Set up and install Charles Proxy + Apache server if you haven't already, then open Charles proxy only.
2) Grab the index.html from the SwitchDNS repo that 'Temp member parrotgeek1 kindly set up for us. Place this html file into the "www" folder of your apache installation.
3) On your Switch, go to Settings -> Internet Settings -> YourConnectedRouter -> Change Settings, and turn Proxy Settings on. Use your PC's local IP address as the server, and use the port number configured in Apache (default is 80) as the port number. When done, you can open up apache on your PC.
(To change this port, if for some reason it doesn't work, change all instances of ":80" in 'httpd.conf' and 'httpd-vhosts.conf' to a different port number, such as ":1337".)
4) Now save your settings, and test your connection. If everything went smoothly, you should see that Charles will ask if your Switch's IP address should be allowed to connect. Click 'Yes/Allow', and you should see "http://conntest.nintendowifi.net" pop up on the left-hand side of the window. Right-click on it, and select "map remote".
5) In the 'map to' section of the window, type "http" in the protocol field, then your PC's local IP address in the host field, and the port number you configured for apache in the port field. Then click "OK".
6) Choose "test connection" again on the Switch. The connection should now fail, but when you click off the message, you should now be redirected to the index.html page hosted on your PC, through the hidden web browser!
7) Now enter a link to a page (such as https://google.co.uk or something; it can be anything really) and now it should take you to that page you requested! :)
This was actually achieved a different way :P

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

When will people learn to film with their phones turned.

It's 16:9 people not 9:16.
We do it just to annoy you ;)
 
  • Like
Reactions: Deleted User

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: good night