Description
Describe the bug
profile generate new -f shared -o lin failure to create .so
changing the os param to windows makes a .dll
To Reproduce
sliver > profiles new beacon -a amd64 -Z r -o lin -b https://1.2.3.4 -k 1234 -j 12 -f shared name1_shared
[*] Saved new implant profile (beacon) name1_shared
sliver > profiles generate name1_shared
[] Generating new linux/amd64 beacon implant binary (1m0s)
[] Symbol obfuscation is enabled
[!] rpc error: code = Unknown desc = exit status 1
sliver > update
[*] Client v1.5.41 - f2a3915 - darwin/amd64
Compiled at 2023-07-11 14:35:13 -0700 PDT
Compiled with go version go1.20.5 darwin/amd64
[*] Server v1.5.41 - f2a3915 - darwin/amd64
Compiled at 2023-07-11 14:35:13 -0700 PDT
Checking for updates ... done!
[*] No new releases.
Expected behavior
sliver > profiles generate name2_shared
[] Generating new linux/amd64 beacon implant binary (1m0s)
[] Symbol obfuscation is enabled
[] Build completed in 26s
[] Implant saved to /FILE/PATH/WORKING_LIBFILE.so
Desktop (please complete the following information):
[*] Client v1.5.41 - f2a3915 - darwin/amd64
Compiled at 2023-07-11 14:35:13 -0700 PDT
Compiled with go version go1.20.5 darwin/amd64
[*] Server v1.5.41 - f2a3915 - darwin/amd64
Compiled at 2023-07-11 14:35:13 -0700 PDT
Additional context
windows works