package
0.0.0-20240926225535-323081ba6986
Repository: https://github.com/voukatas/golang-projects.git
Documentation: pkg.go.dev
# README
Simple Bind Shell in Go
This program is a minimalistic bind shell implemented in Go. It listens on a specified TCP port and spawns a shell (cmd.exe
on Windows and /bin/sh
on Unix-like systems) for any incoming connection.
Usage
-
First, make sure you have Go installed on your machine.
-
Run the code using:
go run bind_shell.go
Alternatively, build the binary using:
go build bind_shell.go
-
The program will start listening on port
5000
. -
You can connect to it using any TCP client, for example, using
netcat
:nc localhost 5000
-
Upon successful connection, you will be presented with a shell from the machine running the bind shell program.