Skip to content

rcemper/WebCmd

Repository files navigation

WebCommand

There is a popular package "WebTerminal". It is excellent in most situations.
Except:

  • running system commands in your operating shell is not so easy
  • as it communicates to the IRIS host over HTTP and WSS it consumes 2 connections
    With only 5 connections in the community license (and the "Grace Period of CSP")
    you can hit the limits rater fast: 2 Webterminals + 1 SMP and you are done
  • WebCommand is a pure CSP page consuming just 1 single connection
  • WebCommand allows multiple ObjectScript command lines running in sequence
  • With $ or ! your command goes to Operating System same as with default terminal
  • It is no full terminal emulation but a slim helper for debugging
  • And it is an excellent place to apply "One Liners"

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

Clone/git pull the repo into any local directory

git https://github.com/isc-at/WebCommand.git

Run the IRIS container with your project:

docker-compose up -d --build

How to Test it

http://localhost:42773/csp/user/webcmd.csp

or use Online Demo :

Examples

  • Just a simple loop in ObjectScript

  • Directory listing inside container

  • File Dump

Article on DC

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published