subzy icon indicating copy to clipboard operation
subzy copied to clipboard

invalid go version '1.21.3': must match format 1.23

Open edongkido opened this issue 1 year ago • 5 comments

I noticed an update addressing the fingerprint error, so I ran the following command to get the latest version:

go install -v github.com/PentestPad/subzy@latest

However, I encountered this error:

go: github.com/PentestPad/subzy@latest (in github.com/PentestPad/[email protected]): go.mod:3: invalid go version '1.21.3': must match format 1.23

It seems I'm running Go version 1.23, but subzy only requires 1.21.3 as specified in its go.mod file:

module github.com/PentestPad/subzy

go 1.21.3

require (

What workarounds can I try?

edongkido avatar Aug 30 '24 13:08 edongkido

Hey @edongkido ,

Just wanted to share that you can install it with the following commands; it worked for me:

 git clone https://github.com/PentestPad/subzy.git
cd subzy
go build
go install

After that, you can find the subzy executable in either $GOPATH/bin or /home/user/go/bin.

Let me know if you need any further information.

touhidshaikh avatar Aug 30 '24 14:08 touhidshaikh

Hey @touhidshaikh, tried what you have suggested but still encountered the same error.

Thank you!

edongkido avatar Aug 30 '24 14:08 edongkido

I edited go.mod and changed go 1.21.3 to go 1.23 and it worked. Thanks!

edongkido avatar Aug 30 '24 14:08 edongkido

@edongkido, I am encountering the same issue. the go.mod file appears to be a media file, can you share the steps for it and resolve my issue

Nabilian7 avatar Sep 05 '24 07:09 Nabilian7

working now thanks, @edongkido and @touhidshaikh

Nabilian7 avatar Sep 05 '24 09:09 Nabilian7