An exploit toolkit for the Nintendo Switch.
- Install the latest version of node from nodejs.org
- Clone this repository
- Ensure port 53, 80, and 8100 are open on the computer running PegaSwitch.
Start PegaSwitch with
sudo node start.js
If on 1.0.0 or you are using the Fake News entrypoint, you will need to run
sudo node start.js --webappletinstead.
- If on 1.0.0 or you are using the Fake News entrypoint, you will need to run
- Configure your Switch DNS settings to point to the IP of your computer.
Run a connection test to trigger the Captive Portal. (Likewise, going into an update page will do the same.)
- If on 1.0.0, use a JPN copy of Puyo Puyo Tetris to launch the webapplet instead.
It should no longer be necessary to run
usefulscripts/SetupNew.js, since PegaSwitch will now do it automatically.
API documentation for SploitCore is automatically generated using jsdoc comments.
You can find the latest version of documentation hosted here
To view locally:
npm run docs:serve then visit
To generate to
npm run docs:generate
DNS responds with incorrect IP address
You can override the IP address that pegaswitch responds with by passing an
--ip argument to the
sudo node start.js --ip 184.108.40.206
Pegaswitch should function on Windows, albeit with the curses ui disabled.
If --logfile is not specified, pegaswitch.log is used. You may open it with the text editor of your choice.
C:\pegaswitch\> node start.js --logfile log.txt
If you encounter problems using pegaswitch on Windows, we suggest installing through WSL.
ISC. See attached