What's new

Tutorial [Release] DNSwitch - A utility to hijack the webbrowser

  • Thread starter Red
  • Start date
  • Views 14,105
Red

Red

Newbie
VIP
Retired
Scaling the Mountain Mythical Veteran MotM
Messages
15,356
Solutions
3
Reaction score
10,415
DNSwitch
A utility for the Nintendo Switch to hijack the web browser

Requirements
  1. Python 3.6
  2. A webserver(if you want to use PHP)
How to use
  1. Set up your hosts file to set the IP that you would like your DNS to be and run both the DNS server.
  2. Open the internet settings on your Nintendo Switch and change your connection's DNS to the one you set in the hosts file.
  3. Run a connection test and click okay once the switch asks you to register
  4. ???
  5. Profit
Credits
Visual Studio Visual Studio for creating the scripts used in this github to automate the process.

What does this do?
This will allow you to redirect the stripped down webbrowser on the Nintendo Switch to do whatever you would like instead of the typical captive portal that is used to sign into wifi. An example of this can be found in the video and screenshots below

Video/Screenshots

78f83db9884e425b8c7b4adbcd518eed.png

f29df1e7215045e19738133fbf27d85d.png

915f70eca70142eca9c4a294a4ce4e62.png


Source/Download
If you're interesting in view the source code/downloading it yourself to use it can be found [Click here to view this link].

This thread may change at anytime to incorporate better instructions or to house updates.
 
Last edited:
Datredyoshi

Datredyoshi

Newbie
Messages
3
Reaction score
0
In the 2 python files which one and where should my DNS go and if I need my IP where does that go also. And if I need a URL where do I place it.
 
Visual Studio

Visual Studio

The Original Shiba Inu
Odysseus' Summit Nevar gon' happen in your lifetime Programmer
Messages
2,756
Reaction score
1,487
In the 2 python files which one and where should my DNS go and if I need my IP where does that go also. And if I need a URL where do I place it.
The DNS server you need to connect to is the local ip address of the computer you're running it on.
 
Datredyoshi

Datredyoshi

Newbie
Messages
3
Reaction score
0
Which file do I put that in and also which files do I put in the other and what should I run to enable it
 
H

heyymanny

Newbie
Messages
7
Reaction score
1
i dont understand the layout youre supposed to use in the hosts file? which ip am i supposed to use? what settings do i have to change on the switch? can you go into more detail and add more pictures/ videos with this post? it would be appreciated thanks
 
Foxofgrey

Foxofgrey

Newbie
Messages
5
Reaction score
0
This will act as a webserver if you use the http folder

And in the first step, would the host filed mention be the one included in the download or the HOSTS file in the Windows folder of the root directory?
 
Red

Red

Newbie
VIP
Retired
Scaling the Mountain Mythical Veteran MotM
Messages
15,356
Solutions
3
Reaction score
10,415
And in the first step, would the host filed mention be the one included in the download or the HOSTS file in the Windows folder of the root directory?
The one included in the download
 
Red

Red

Newbie
VIP
Retired
Scaling the Mountain Mythical Veteran MotM
Messages
15,356
Solutions
3
Reaction score
10,415
Sorry if I sound new at this sort of activity, but how could I go through creating a captive portal?
You need to use DNSwitch and the python scripts in the main post to do this. Once those are done create your html file and redirect it to youtube.

Alternatively. Wait about an hour and download the new source code from youtube as I will be adding a premade captive portal, so all you will need to do is run the scripts and do the initial setup
 
Red

Red

Newbie
VIP
Retired
Scaling the Mountain Mythical Veteran MotM
Messages
15,356
Solutions
3
Reaction score
10,415
For those who want to test multiple sites quickly and easily I have just added an html file to DNSwitch that redirects to dnswitch.redthetrainer.com This will allow you to test to your hearts content with minimal effort
 
Top Bottom
Login
Register