RyLeeHarrison / mini-remote-shell-execution

Mini JavaScript client/server remote shell execution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mini-remote-shell-execution

Mini JavaScript client/server remote shell execution

very minimal code

Start the server

Clone and run the server

git clone https://github.com/RyLeeHarrison/mini-remote-shell-execution
cd mini-remote-shell-execution-master
yarn install # or npm install
node server.js # exposes port 1338

Connecting to the shell

you can connect with telnet as well as nc, your choice

nc localhost 1338

or telnet

telnet localhost 1338

code

Windows ?

I used the package "node-pty" to so it could be used with something like xterm.js

"node-pty supports Linux, macOS and Windows. Windows support is possible by utilizing the winpty library."

See the node-pty package for more information

About

Mini JavaScript client/server remote shell execution

License:MIT License


Languages

Language:JavaScript 100.0%