Girsh v0.40 releases: Automatically spawn a reverse shell fully interactive
Girsh (Golang Interactive Reverse SHell)
Who didn’t get bored of manually typing the few lines to upgrade a reverse shell to a full interactive reverse shell (tty spawn, stty size …, stty raw -echo) or typing the command to use ConPTY.
Description
With Girsh, just run it and it will detect the OS and execute the correct commands to upgrade it to a full interactive reverse shell.
For a Linux:
- Get the terminal’s size
- Spawn a tty using python2.7, python3, and python
- Change the terminal as raw
For a Windows:
- Download ConPTY on the same machine and same port as the reverse shell server
- Listen for getting the ConPTY reverse shell
Usage
Two modes are available:
Simple listener
go run main.go listener -h
Usage:
girsh listen [flags]Flags:
-h, –help help for listenGlobal Flags:
-d, –debug Debug output
-p, –port int port to listen (default is 1234) (default 1234)
Interactive
go run main.go -h
Generate a reverseshell oneliners (credits shellerator).
And listen then run stty raw -echo and send the python command to spawn a tty shell if it’s Linux
or use ConPTY if it’s windowsUsage:
girsh [flags]
girsh [command]Available Commands:
help Help about any command
listen Listen and spawn a fully interactive for windows and linux clientFlags:
-d, –debug Debug output
-h, –help help for revshell
-p, –port int port to listen (default is 1234) (default 1234)
Changelog v0.40
e2dbd6c Use goreleaser
66f833b Support backspace character when using custom command
9e85abc Merge pull request #41 from nodauf/renovate/golang.org-x-net-digest
8b4c7db Update golang.org/x/net commit hash to 8d99171
c7e7a04 Merge pull request #40 from nodauf/renovate/wangyoucao577-go-release-action-1.x
6ba1c18 Update wangyoucao577/go-release-action action to v1.20
d10db2a Disable renovate dashboard
76e1edc Merge pull request #39 from nodauf/renovate/golang.org-x-net-digest
eff8c99 Update golang.org/x/net commit hash to e898025
3a00810 Merge pull request #35 from nodauf/renovate/wangyoucao577-go-release-action-1.x
49e2c8a Merge pull request #37 from nodauf/renovate/golang.org-x-net-digest
284868b Update golang.org/x/net commit hash to 60bc85c
3c1b6cc Merge pull request #36 from nodauf/renovate/golang.org-x-text-0.x
39b82d7 Update module golang.org/x/text to v0.3.7
1855fab Merge pull request #34 from nodauf/renovate/golang.org-x-net-digest
b7d37c0 Update golang.org/x/net commit hash to aaa1db6
53554dd Update wangyoucao577/go-release-action action to v1.19
04f5d6c Merge pull request #33 from nodauf/renovate/golang.org-x-net-digest
7667cd2 Update golang.org/x/net commit hash to 853a461
069c075 Merge pull request #32 from nodauf/renovate/github.com-spf13-cobra-1.x
ddf0344 Update module github.com/spf13/cobra to v1.2.1
eaf7b2a Merge pull request #31 from nodauf/renovate/github.com-spf13-cobra-1.x
98e0958 Update module github.com/spf13/cobra to v1.2.0
350c0c2 Merge pull request #30 from nodauf/renovate/golang.org-x-net-digest
d5ae673 Update golang.org/x/net commit hash to 04defd4
eb0b689 Merge pull request #28 from nodauf/renovate/wangyoucao577-go-release-action-1.x
2a61900 Merge pull request #29 from nodauf/renovate/golang.org-x-net-digest
dcaa3e7 Update golang.org/x/net commit hash to 84b48f8
1b82016 Update wangyoucao577/go-release-action action to v1.18
77daf72 Merge pull request #27 from nodauf/renovate/golang.org-x-net-digest
fcdff4a Update golang.org/x/net commit hash to abc4532
ad714e8 Merge pull request #26 from nodauf/renovate/golang.org-x-net-digest
88c0a2d Update golang.org/x/net commit hash to fe42d45
44a0c69 Merge pull request #25 from nodauf/renovate/golang.org-x-net-digest
43a9d76 Update golang.org/x/net commit hash to 37e1c6a
42c8275 Add option timeBuffer to adjust waiting time #24
b6717a2 Merge pull request #21 from nodauf/renovate/golang.org-x-net-digest
5e5210a Update golang.org/x/net commit hash to 4163338
2516f6d Merge pull request #20 from nodauf/renovate/golang.org-x-net-digest
cb25cf6 Update golang.org/x/net commit hash to 16afe75
e829d70 Merge pull request #19 from nodauf/renovate/golang.org-x-net-digest
4645c45 Update golang.org/x/net commit hash to 0714010
238c1c2 Merge pull request #18 from nodauf/renovate/golang.org-x-net-digest
738daef Update golang.org/x/net commit hash to 0287a6f
3635ac4 Merge pull request #17 from nodauf/renovate/golang.org-x-net-digest
fa9b944 Update golang.org/x/net commit hash to bbd867f
9e24ac7 Merge pull request #16 from nodauf/renovate/golang.org-x-net-digest
647a638 Update golang.org/x/net commit hash to 7fd8e65
008ccfe Merge pull request #15 from nodauf/renovate/golang.org-x-net-digest
13bae5c Update golang.org/x/net commit hash to e590880
40db7e6 Merge pull request #14 from nodauf/renovate/golang.org-x-net-digest
a61e7b7 Update golang.org/x/net commit hash to aec3718
4f76580 Merge pull request #13 from nodauf/renovate/golang.org-x-net-digest
67a2085 Update golang.org/x/net commit hash to 89ef3d9
a20dd07 Merge pull request #12 from nodauf/renovate/golang.org-x-net-digest
67d4820 Update golang.org/x/net commit hash to 85d9c07
Download
Copyright (C) 2021 nodauf