What's new

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

  • Thread starter Red
  • Start date
  • Views 13,029
R

Red

Newbie
VIP
Retired
Messages
15,342
Reaction score
10,405
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
V 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



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:
D

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.
 
V

Visual Studio

The Original Shiba Inu
Messages
2,758
Reaction score
1,486
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.
 
D

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
 
F

Foxofgrey

Newbie
Messages
5
Reaction score
0
So how would one set up a webserver on let's say Windows 10 home?
 
F

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?
 
R

Red

Newbie
VIP
Retired
Messages
15,342
Reaction score
10,405
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
 
F

Foxofgrey

Newbie
Messages
5
Reaction score
0
The one included in the download

Also, how would the hostname regex be set up in the host file?
Would it just be the path to the http folder?
 
D

Datredyoshi

Newbie
Messages
3
Reaction score
0
Can you give me the http for YouTube
 
F

Foxofgrey

Newbie
Messages
5
Reaction score
0
This will be an html file..you need to make a redirect for your captive portal
Sorry if I sound new at this sort of activity, but how could I go through creating a captive portal?
 
R

Red

Newbie
VIP
Retired
Messages
15,342
Reaction score
10,405
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
 
R

Red

Newbie
VIP
Retired
Messages
15,342
Reaction score
10,405
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
 
E

enderzombie15

Newbie
Messages
4
Reaction score
0
Can you add flappy bird please
 
Top Bottom