billchurch / webssh2

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

how to tracking cmd on the server #357

Open shape-of-snowflake opened 4 months ago

shape-of-snowflake commented 4 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"