sliver
sliver copied to clipboard
An error occurred while generating a macOS ARM dynamic library (dylib) beacon on an AMD64 Linux server.
generate beacon --arch arm64 --os macos --mtls 198.19.249.138:3306 --save ./macos.dylib
rpc error: code = Unknown desc = exit status 1
At ~/.sliver/logs/sliver.log:
cgo: C compiler "/opt/osxcross/target/bin/aarch64-apple-darwin20.2-clang" not found
Then install osxcross and errors occurred again:
/home/test/.cache/garble/tool/link: running /opt/osxcross/target/bin/aarch64-apple-darwin20.2-clang failed: exit status 1
/usr/bin/ld: unrecognised emulation mode: llvm
Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu i386pep i386pe
clang: error: linker command failed with exit code 1 (use -v to see invocation)