zile42O / panda-c2

Golang C2 Client + PHP API Handler
6 stars 2 forks source link

bug plz help me #1

Closed HashcatSec closed 1 year ago

HashcatSec commented 1 year ago

hey i have a probleme with the source idk where i can put my server

zile42O commented 1 year ago

Can you better describe the issue?

HashcatSec commented 1 year ago

when i enter go build -o c2 i throw me that -bash-5.1# go build -o c2

golang.org/x/sys/unix

../go/src/golang.org/x/sys/unix/mremap.go:42:10: undefined: unsafe.Slice ../go/src/golang.org/x/sys/unix/syscall.go:83:16: undefined: unsafe.Slice ../go/src/golang.org/x/sys/unix/syscall_linux.go:1018:20: undefined: unsafe.Slice ../go/src/golang.org/x/sys/unix/syscall_linux.go:2300:9: undefined: unsafe.Slice ../go/src/golang.org/x/sys/unix/syscall_unix.go:118:7: undefined: unsafe.Slice ../go/src/golang.org/x/sys/unix/sysvshm_unix.go:33:7: undefined: unsafe.Slice -bash-5.1#

zile42O commented 1 year ago

Did you setup a go .mod and go .sum files?

go mod init main
go mod tidy
HashcatSec commented 1 year ago

yeah of course you want my discord for help me or just here

zile42O commented 1 year ago

Provide me info about your golang version and OS

HashcatSec commented 1 year ago

Go 1.15 i think idk thé command for Know that

Le mer. 2 août 2023 à 18:26, Aleksandar Zivkovic @.***> a écrit :

Provide me info about your golang version and OS

— Reply to this email directly, view it on GitHub https://github.com/zile42O/panda-c2/issues/1#issuecomment-1662536731, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2KMK3ZRYL3UJMI46WXQ4BDXTJ5RRANCNFSM6AAAAAA3ARTB7Y . You are receiving this because you authored the thread.Message ID: @.***>

zile42O commented 1 year ago

Update your golang version Do again

go mod init main
go mod tidy
go build

Send me output

HashcatSec commented 1 year ago

go version go1.15.15 linux/amd64

HashcatSec commented 1 year ago

-bash-5.1# go mod init main go mod tidy go build go mod init: go.mod already exists go: downloading github.com/fatih/color v1.15.0 go: downloading github.com/go-sql-driver/mysql v1.7.1 go: downloading github.com/mackerelio/go-osstat v0.2.4 go: downloading github.com/mattn/go-colorable v0.1.13 go: downloading golang.org/x/sys v0.6.0 go: downloading github.com/mattn/go-isatty v0.0.17

golang.org/x/sys/unix

../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall.go:83:16: undefined: unsafe.Slice ../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall_linux.go:1018:20: undefined: unsafe.Slice ../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall_linux.go:2289:9: undefined: unsafe.Slice ../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/syscall_unix.go:118:7: undefined: unsafe.Slice ../go/pkg/mod/golang.org/x/sys@v0.6.0/unix/sysvshm_unix.go:33:7: undefined: unsafe.Slice note: module requires Go 1.17

zile42O commented 1 year ago

You already have answer in output, update your golang version to minimal 1.17