Skip to content

Web shell in golang

homepage-banner

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.

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.

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

Conclusion

Web shell programs are an essential tool for system administrators and developers who need to manage servers and perform administrative tasks remotely. Golang is an ideal programming language for developing web shell programs due to its efficiency, concurrency, and security features. With its built-in concurrency features and security features, Golang makes it easier to develop secure and efficient web shell programs. There are many popular web shell programs developed using Golang, each with its own unique features and capabilities. Whether you are a system administrator or a developer, Golang is an excellent choice for developing web shell programs.

Reference

  • https://github.com/yudai/gotty
  • https://github.com/sorenisanerd/gotty
Leave a message