fscan icon indicating copy to clipboard operation
fscan copied to clipboard

昨天的这个版本grdp编译报错,跟go.sum相关

Open um3ha4a opened this issue 3 years ago • 7 comments

GOOS=windows GOARCH=amd64 go build -ldflags="-s -w " -trimpath go: github.com/sijms/go-ora/[email protected]: missing go.sum entry; to add it: go mod download github.com/sijms/go-ora/v2 go: github.com/sijms/go-ora/[email protected]: missing go.sum entry; to add it:

root@iPhone:~/go/fscan# go mod download github.com/sijms/go-ora/v2 root@iPhone:~/go/fscan# GOOS=windows GOARCH=amd64 go build -ldflags="-s -w " -trimpath Plugins/rdp.go:7:2: missing go.sum entry for module providing package github.com/tomatome/grdp/core (imported by github.com/shadow1ng/fscan/Plugins); to add: go get github.com/shadow1ng/fscan/Plugins Plugins/rdp.go:8:2: missing go.sum entry for module providing package github.com/tomatome/grdp/glog (imported by github.com/shadow1ng/fscan/Plugins); to add: go get github.com/shadow1ng/fscan/Plugins Plugins/rdp.go:9:2: missing go.sum entry for module providing package github.com/tomatome/grdp/protocol/nla (imported by github.com/shadow1ng/fscan/Plugins); to add: go get github.com/shadow1ng/fscan/Plugins Plugins/rdp.go:10:2: missing go.sum entry for module providing package github.com/tomatome/grdp/protocol/pdu (imported by github.com/shadow1ng/fscan/Plugins); to add: go get github.com/shadow1ng/fscan/Plugins Plugins/rdp.go:11:2: missing go.sum entry for module providing package github.com/tomatome/grdp/protocol/rfb (imported by github.com/shadow1ng/fscan/Plugins); to add: go get github.com/shadow1ng/fscan/Plugins Plugins/rdp.go:12:2: missing go.sum entry for module providing package github.com/tomatome/grdp/protocol/sec (imported by github.com/shadow1ng/fscan/Plugins); to add: go get github.com/shadow1ng/fscan/Plugins Plugins/rdp.go:13:2: missing go.sum entry for module providing package github.com/tomatome/grdp/protocol/t125 (imported by github.com/shadow1ng/fscan/Plugins); to add: go get github.com/shadow1ng/fscan/Plugins Plugins/rdp.go:14:2: missing go.sum entry for module providing package github.com/tomatome/grdp/protocol/tpkt (imported by github.com/shadow1ng/fscan/Plugins); to add: go get github.com/shadow1ng/fscan/Plugins Plugins/rdp.go:15:2: missing go.sum entry for module providing package github.com/tomatome/grdp/protocol/x224 (imported by github.com/shadow1ng/fscan/Plugins); to add: go get github.com/shadow1ng/fscan/Plugins

root@iPhone:~/go/fscan# go get github.com/shadow1ng/fscan/Plugins go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead. root@iPhone:~/go/fscan# GOOS=windows GOARCH=amd64 go build -ldflags="-s -w " -trimpath package github.com/shadow1ng/fscan imports github.com/shadow1ng/fscan/Plugins imports github.com/tomatome/grdp/protocol/pdu imports github.com/tomatome/grdp/protocol/t125/gcc imports github.com/tomatome/grdp/plugin: build constraints exclude all Go files in /root/go/pkg/mod/github.com/shadow1ng/[email protected]/plugin

um3ha4a avatar Jan 14 '22 08:01 um3ha4a

go mod tidy

shadow1ng avatar Jan 14 '22 08:01 shadow1ng

https://github.com/shadow1ng/fscan/issues/134

shadow1ng avatar Jan 14 '22 08:01 shadow1ng

root@iPhone:~/go/fscan# go mod tidy go: downloading github.com/stretchr/testify v1.6.1 go: downloading gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 root@iPhone:~/go/fscan# GOOS=windows GOARCH=amd64 go build -ldflags="-s -w " -trimpath package github.com/shadow1ng/fscan imports github.com/shadow1ng/fscan/Plugins imports github.com/tomatome/grdp/protocol/pdu imports github.com/tomatome/grdp/protocol/t125/gcc imports github.com/tomatome/grdp/plugin: build constraints exclude all Go files in /root/go/pkg/mod/github.com/shadow1ng/[email protected]/plugin

um3ha4a avatar Jan 14 '22 08:01 um3ha4a

看了半天师傅们精彩的演讲,俺试了好久终于是编译成功了

S1nK0000 avatar Jan 18 '22 14:01 S1nK0000

怎么编译的啊?

tangze-Asuka avatar Mar 15 '22 05:03 tangze-Asuka

怎么编译的啊?

go mod tidy go build main.go

shadow1ng avatar Mar 15 '22 06:03 shadow1ng

编译报错 github.com/shadow1ng/fscan/Plugins Plugins/redis.go:196:11: undefined: SshPub

KangD1W2 avatar May 16 '22 13:05 KangD1W2