PentestPad / subzy

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

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

Open edongkido opened 2 months ago

edongkido commented 2 months 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 2 months 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 2 months ago

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

Thank you!

edongkido commented 2 months ago

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

Nabilian7 commented 2 months 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 2 months ago

working now thanks, @edongkido and @touhidshaikh