mosint icon indicating copy to clipboard operation
mosint copied to clipboard

cannto find package

Open cyghtinc opened this issue 3 years ago • 3 comments

Hi,

How can I resolve this issue: (tested on ubuntu18)

main.go:17:2: cannot find package "github.com/dimiro1/banner" in any of: /usr/lib/go-1.10/src/github.com/dimiro1/banner (from $GOROOT) /home/forensics/go/src/github.com/dimiro1/banner (from $GOPATH) main.go:18:2: cannot find package "github.com/fatih/color" in any of: /usr/lib/go-1.10/src/github.com/fatih/color (from $GOROOT) /home/forensics/go/src/github.com/fatih/color (from $GOPATH) main.go:19:2: cannot find package "github.com/mattn/go-colorable" in any of: /usr/lib/go-1.10/src/github.com/mattn/go-colorable (from $GOROOT) /home/forensics/go/src/github.com/mattn/go-colorable (from $GOPATH) main.go:20:2: cannot find package "github.com/olekukonko/tablewriter" in any of: /usr/lib/go-1.10/src/github.com/olekukonko/tablewriter (from $GOROOT) /home/forensics/go/src/github.com/olekukonko/tablewriter (from $GOPATH) main.go:21:2: cannot find package "github.com/schollz/progressbar/v3" in any of: /usr/lib/go-1.10/src/github.com/schollz/progressbar/v3 (from $GOROOT) /home/forensics/go/src/github.com/schollz/progressbar/v3 (from $GOPATH) main.go:12:2: cannot find package "main/modules" in any of: /usr/lib/go-1.10/src/main/modules (from $GOROOT) /home/forensics/go/src/main/modules (from $GOPATH)

cyghtinc avatar May 27 '22 15:05 cyghtinc

Can you run go mod tidy ?

alpkeskin avatar May 30 '22 10:05 alpkeskin

Hi,

ofcourse

I run go mod tidy and I got: "unknown subcommand" I had go version 1.10

so I installed the latest version 1.18.2 and run it again: go mod tidy

then I run the command: go run main.go -e [email protected] -all

and I got the following error:

| '_ ` _ \ / _ \ / | | | | ' \ | | | | | | | | | () | _ \ | | | | | | | | || || |_| _/ |/ || || || __|

v2.1 https://github.com/alpkeskin/ Now: Monday, 30 May 2022

mosinting 20% |███████ | (20/100, 10 it/s) [2s:8s]Traceback (most recent call last): File "modules/SocialScan.py", line 5, in from socialscan.util import Platforms, sync_execute_queries ModuleNotFoundError: No module named 'socialscan' mosinting 28% |█████████ | (28/100, 10 it/s) [2s:7s]Traceback (most recent call last): File "modules/Holehe.py", line 6, in import trio ModuleNotFoundError: No module named 'trio' mosinting 36% |████████████ | (36/100, 20 it/s) [2s:3s]panic: invalid character '<' looking for beginning of value

goroutine 1 [running]: main/modules.doRequest({0xc001b664e0, 0x52}, {0xa6742a, 0x7}) /home/forensics/Desktop/mosint/modules/ThreatCrowd.go:28 +0x670 main/modules.RelatedDomains(...) /home/forensics/Desktop/mosint/modules/ThreatCrowd.go:52 main.main() /home/forensics/Desktop/mosint/main.go:263 +0xc2b exit status 2

cyghtinc avatar May 30 '22 19:05 cyghtinc

The same error:

main/modules.doRequest({0xc001c491d0, 0x45}, {0xa64dfc, 0x6})
        /home/fancypig/Desktop/mosint/modules/ThreatCrowd.go:31 +0x705
main/modules.RelatedEmails({0x7fffb91223c5?, 0xd?})
        /home/fancypig/Desktop/mosint/modules/ThreatCrowd.go:59 +0x65
main.main()
        /home/fancypig/Desktop/mosint/main.go:261 +0xbcd
exit status 2

B1gM8c avatar Jul 04 '22 04:07 B1gM8c

Hi, new version released 🚀

alpkeskin avatar Oct 18 '22 11:10 alpkeskin