Skip to content

PegaSwitch is an exploit toolkit for the Nintendo Switch

License

Notifications You must be signed in to change notification settings

JoelLarson/pegaswitch

 
 

Repository files navigation

By



An exploit toolkit for the Nintendo Switch™

Installation

  1. Install the latest version of node from nodejs.org
  2. Clone this repository
  3. Run npm install

Usage

  1. Ensure port 53, 80, and 8100 are open on the computer running pegaswitch.
  2. Start pegaswitch with sudo node start.js
  3. Configure your Switch DNS settings to point to the IP of your computer.
  4. Run a connection test to trigger the Captive Portal. (Likewise, going into an update page will do the same.)
  5. STRONG SUGGESTION: If this is your first time running PegaSwitch on a new console, run the command evalfile usefulscripts/SetupNew.js to set up useful settings.

Documentation

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 http://localhost:4001

To generate to docs folder: npm run docs:generate

Troubleshooting

DNS responds with incorrect IP address

You can override the IP address that pegaswitch responds with by passing an --ip argument to the node start.js command.

eg.

sudo node start.js --ip 1.2.3.4

Windows support

The full curses interface on Windows is supported using WSL only. We will not provide support for native cmd.exe as it lacks necessary functionality.

You can, however, use --disable-curses and write the debug log out to a file for ing.

License

ISC. See attached LICENSE.md file.

About

PegaSwitch is an exploit toolkit for the Nintendo Switch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.7%
  • HTML 1.2%
  • Emacs Lisp 0.1%