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

Install broken #120

Closed
firefart opened this issue Jun 11, 2024 · 2 comments
Closed

Install broken #120

firefart opened this issue Jun 11, 2024 · 2 comments

Comments

@firefart
Copy link

go install github.com/x90skysn3k/brutespray@latest
go: downloading github.com/x90skysn3k/brutespray v0.0.0-20240610185117-4efb5f387cf4
go: github.com/x90skysn3k/brutespray@v0.0.0-20240610185117-4efb5f387cf4 requires go >= 1.22.4; switching to go1.22.4
go: downloading go1.22.4 (linux/amd64)
go: github.com/x90skysn3k/brutespray@latest (in github.com/x90skysn3k/brutespray@v0.0.0-20240610185117-4efb5f387cf4):
        The go.mod file for the module providing named packages contains one or
        more replace directives. It must not contain directives that would cause
        it to be interpreted differently than if it were the main module.****
@x90skysn3k
Copy link
Owner

This is because the go.mod file requires a replace on the rdp library. Alternatively run these commands to install:

git clone https://github.com/x90skysn3k/brutespray.git
cd brutespray
go install

You can also just build it and move the binary wherever you'd like to install it. Another option is running it from the docker container as well.

@x90skysn3k
Copy link
Owner

I have fixed this by forking the grdp module and renaming it removing the replace in the go.mod file. Now you can use go install github.com/x90skysn3k/brutespray@dev until I merge this into the main branch.

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

2 participants