Modlishka icon indicating copy to clipboard operation
Modlishka copied to clipboard

Unable to compile

Open ssl-user-en opened this issue 3 years ago • 4 comments

I'm trying to compile the tool with some changes. Getting this error. Can anyone please help?

make 2 ⨯ go test -v main.go main_test.go main.go:18:2: cannot find package "." in: /usr/share/go-1.15/src/vendor/github.com/drk1wi/Modlishka/config main.go:19:2: cannot find package "." in: /usr/share/go-1.15/src/vendor/github.com/drk1wi/Modlishka/core main.go:20:2: cannot find package "." in: /usr/share/go-1.15/src/vendor/github.com/drk1wi/Modlishka/log main.go:21:2: cannot find package "." in: /usr/share/go-1.15/src/vendor/github.com/drk1wi/Modlishka/plugin main.go:22:2: cannot find package "." in: /usr/share/go-1.15/src/vendor/github.com/drk1wi/Modlishka/runtime make: *** [Makefile:23: test] Error 1

ssl-user-en avatar Jun 22 '21 05:06 ssl-user-en

yes bro i am also getting the same error

Cyber-Warrior-6 avatar Jul 05 '21 07:07 Cyber-Warrior-6

This error is because your go version is old.
First- uninstall your existing go version from /usr/local/src and /usr/local/bin . Bin maybe not get deleted because it is locked, so you've to release it first, then also modify or reset .bashrc

install latest version of Golang from official site, see installation instructions. then follow the steps and install modlishka, check ired.team blog post on how to install and generate certificate using certbot letsencrypt. then you can start using it, use tmux to run it in background.

The reverse proxy won't work on google, discord (integrity issue) you need to manually modify and overwrite, create custom build of modlishka.

eqn-group avatar Sep 13 '21 18:09 eqn-group

cannot find package "." - you are missing vendored copies of dependencies do go mod vendor

ghost avatar Sep 20 '21 08:09 ghost

.

sonu13579 avatar Oct 10 '21 09:10 sonu13579