nxsh by Cesura - Homebrew App Store (switch)
Back

App Store IconHomebrew App Store (switch)

nxsh
by Cesura

nxsh icon
    Version0.1.8-beta
    Zip size482 KiB
    LicenseBSD v3
    Updated03/02/2019
    Downloads2,380
    MD54bad3156ef23d53218627edd0bc83464

App Details

About
I started this project as a convenient way to interact with the Switch over the network. Simply run the provided .nro file included and connect to your device via port 5050 to access a Unix-esque shell. A full list of currently-supported commands can be provided by typing 'help' at the prompt.

For more information, or to report a bug, check out the project on GitHub:
https://github.com/Cesura/nxsh

Connecting
Linux/BSD/Mac OS
First ensure that you have the 'telnet' client installed on your local machine (it may or may not be bundled with your base distribution). For Mac users, I recommend installing the client via the Homebrew package manager. Then, connect in via:

$ telnet [IP address] 5050

Windows
The built-in Windows telnet client does not play nicely with nxsh, so I recommend installing PuTTY. Note that connecting via a "raw" connection instead of a 'telnet' one will avoid a pesky 'command not found' message upon initialization of the shell. The telnet protocol sends some garbage text as it's negotiating the connection, so if you want a clean-looking shell, ditch that and go for a raw socket.

Changelog

v0.1.8-beta

Implemented NAND browsing (see mount command). Big thanks to @friedkeenan for the contribution.

v0.1.7-beta

Added JS scripting functionality via duktape. You can now write scripts and execute them, provided they are ECMAScript 5.1 compliant. See the examples/ directory for a bit more information.
Added native print(), readFile(), and writeFile() functions