PentestPad / subzy

Subdomain takeover vulnerability checker
https://www.pentestpad.com
GNU General Public License v2.0
989 stars 149 forks source link

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

Open edongkido opened 1 month ago

edongkido commented 1 month ago

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/subzy@v1.2.0): 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 commented 1 month ago

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 commented 1 month ago

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

Thank you!

edongkido commented 1 month ago

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

Nabilian7 commented 3 weeks ago

@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 commented 3 weeks ago

working now thanks, @edongkido and @touhidshaikh