Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid go version '1.21.3': must match format 1.23 #59

Open
edongkido opened this issue Aug 30, 2024 · 5 comments
Open

invalid go version '1.21.3': must match format 1.23 #59

edongkido opened this issue Aug 30, 2024 · 5 comments

Comments

@edongkido
Copy link

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?

@touhidshaikh
Copy link
Contributor

touhidshaikh commented Aug 30, 2024

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.

@edongkido
Copy link
Author

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

Thank you!

@edongkido
Copy link
Author

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

@Nabilian7
Copy link

@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
Copy link

working now thanks, @edongkido and @touhidshaikh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants