Skip to content

Shell Server with four default functions ssh, telnet, ping and tracert.

Notifications You must be signed in to change notification settings

PrimeEuler/ShellServer.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShellServer.js

Open multiple (dragable, resizable) terminal emulation sessions that send all keystrokes from the web browser to the shell server. The shell server has four default functions ssh, telnet, ping and tracert.

For the time being the shellServer has been combined with nms.js. See the webNMS for an example.

Component of:

Requirements:

Install:

npm install express.io
npm install ssh2
npm install bone.io
term.js is already included in the /js directory
npm install net-ping * requires admin/root access to create raw (ICMP) packets

Run:

node Shell_Server.js

Connect:

http://localhost:8080

Use:

Click terminal icon ( >_ ). 
Type "telnet nethack.alt.org" in the terminal window.

Click terminal icon ( >_ ). 
Type "ssh nethack.alt.org" in the terminal window. 
( Username : nethack, Passowrd: password )

Click terminal icon ( >_ ). 
Type "ping 74.125.225.65" in the terminal window. 
Type "tracert 74.125.225.65" in the terminal window. 

Cloud9: *ssh is the only working protocol in the demo on cloud9

About

Shell Server with four default functions ssh, telnet, ping and tracert.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published