billchurch / webssh2

Web SSH Client using ssh2, socket.io, xterm.js, and express. webssh webssh2
MIT License
2.36k stars 536 forks source link

how to tracking cmd on the server #357

Open shape-of-snowflake opened 9 months ago

shape-of-snowflake commented 9 months ago

I want to track cmd that users enter from the web on the backend code like: console.log(cmd). And I want to restrict some cmd on the backend code like "rm -rf"