Web shell in Golang
Introduction
Web shell is a type of program that allows remote access to a computer through a web browser. It is commonly used by system administrators to manage servers and perform administrative tasks. In recent years, many web shell programs have been developed using Golang due to its efficiency and ease of use. This blog post will explore the benefits of using Golang to develop web shell programs and some of the popular web shell programs developed using Golang.
Popular web shell programs developed using Golang
There are many popular web shell programs developed using Golang, each with its own unique features and capabilities. Some of the most popular web shell programs include:
- Gosh: Gosh is a web shell program developed using Golang that allows users to execute commands on a remote server through a web interface. It features a simple and easy-to-use interface and supports multiple users and authentication.
- GoTTY: GoTTY is another popular web shell program developed using Golang. It allows users to access a terminal session through a web browser, making it easy to manage servers remotely. GoTTY also supports multiple users and authentication.
- Websh: Websh is a web shell program developed using Golang that allows users to execute shell commands through a web interface. It features a simple and intuitive interface and supports multiple users and authentication.
- Visual Studio Code Server: The Visual Studio Code Server is a service you can run on a remote development machine, like your desktop PC or a virtual machine (VM). It allows you to securely connect to that remote machine from anywhere through a local VS Code client, without the requirement of SSH.
Usage of GOTTY
1. Random URL, Access on Port 9000
gotty -p "9000" -r -w bash -i
2. Simple username and password authorization, Access on Port 9090
gotty -p 9090 -c user:password -w bash -i
Reference
https://github.com/yudai/gotty
https://github.com/sorenisanerd/gotty
https://github.com/gokyle/webshell
https://github.com/luoqeng/webshell
https://code.visualstudio.com/docs/remote/vscode-server