{"id":21740646,"url":"https://github.com/noahc3/pegaswitch","last_synced_at":"2025-04-13T03:41:40.350Z","repository":{"id":37712198,"uuid":"192206205","full_name":"noahc3/pegaswitch","owner":"noahc3","description":"PegaSwitch with experimental 4.x nvcore support.","archived":false,"fork":false,"pushed_at":"2023-01-05T02:54:25.000Z","size":2365,"stargazers_count":23,"open_issues_count":20,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T20:51:27.198Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noahc3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-16T15:19:59.000Z","updated_at":"2023-06-24T06:23:25.000Z","dependencies_parsed_at":"2023-02-03T07:15:42.323Z","dependency_job_id":null,"html_url":"https://github.com/noahc3/pegaswitch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahc3%2Fpegaswitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahc3%2Fpegaswitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahc3%2Fpegaswitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahc3%2Fpegaswitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noahc3","download_url":"https://codeload.github.com/noahc3/pegaswitch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248660900,"owners_count":21141367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-26T06:14:30.441Z","updated_at":"2025-04-13T03:41:40.332Z","avatar_url":"https://github.com/noahc3.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg style=\"width: 50%\" src=\"https://i.imgur.com/bHjfC0Q.png\"\u003e\n  By\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n  \u003cimg style=\"width: 100px\" src=\"https://i.imgur.com/w2u26sA.png\"\u003e\n  \u003cbr/\u003e\n  \u003cbr/\u003e\n  An exploit toolkit for the Nintendo Switch™\n\u003c/p\u003e\n\nInstallation\n============\n\n1. Install the latest version of node from [nodejs.org](https://nodejs.org)\n2. Clone this repository\n3. Run `npm install`\n\nUsage\n=====\n\n1. Ensure port 53, 80, and 8100 are open on the computer running PegaSwitch.\n2. Start PegaSwitch with `sudo node start.js`\n    * If on 1.0.0 or you are using the Fake News entrypoint, you will need to run `sudo node start.js --webapplet` instead. \n3. Configure your Switch DNS settings to point to the IP of your computer.\n4. Run a connection test to trigger the Captive Portal. (Likewise, going into an update page will do the same.)\n    * If on 1.0.0, [use a JPN copy of Puyo Puyo Tetris to launch the webapplet](http://switchbrew.org/index.php?title=Internet_Browser#WebApplet_launch_with_Tetris) instead.\n\nIt should no longer be necessary to run `usefulscripts/SetupNew.js`, since PegaSwitch will now do it automatically.\n\nDocumentation\n=============\n\nAPI documentation for SploitCore is automatically generated using jsdoc comments.\n\nYou can find the latest version of documentation hosted [here](https://reswitched.github.io/pegaswitch/)\n\nTo view locally: `npm run docs:serve` then visit `http://localhost:4001`\n\nTo generate to `docs` folder: `npm run docs:generate`\n\nTroubleshooting\n===============\n\n### DNS responds with incorrect IP address\n\nYou can override the IP address that pegaswitch responds with by passing an `--ip` argument to the `node start.js` command.\n\neg.\n```\nsudo node start.js --ip 1.2.3.4\n```\n\n### Windows support\n\nPegaswitch should function on Windows, albeit with the curses ui disabled.\n\nIf --logfile is not specified, pegaswitch.log is used. You may open it with the text editor of your choice.\n\nex:\n```\nC:\\pegaswitch\\\u003e node start.js --logfile log.txt\n```\n\nIf you encounter problems using pegaswitch on Windows, we suggest installing through WSL.\n\nLicense\n=======\n\nISC. See attached `LICENSE.md` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahc3%2Fpegaswitch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoahc3%2Fpegaswitch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahc3%2Fpegaswitch/lists"}