sliver
sliver copied to clipboard
`implants` command experiences consistent failures after specific trigger
Describe the bug
The implants command starts failing and returns [!] rpc error: code = Unknown desc = record not found instead of the list of generated implants. The only way I was able to fix it is by removing the ~/.sliver dir.
To Reproduce
I was able to consistently reproduce the issue by running migrate -p <pid> in a session created with service format (I'm not sure if it may happens even under other circumnstances).
Steps:
-
implants->[*] No implant builds -
generate --mtls <ip> -l -f service -
implants-> shows the generated implant - (spawn session implant on the target machine)
-
use <session-id> -
ps -
background -
implants-> still shows the list of implants -
use <session-id> -
migrate -p <pid>-> returns[*] Successfully migrated to 1120but doesn't spawn any session -
background -
implants->[!] rpc error: code = Unknown desc = record not found
Expected behavior
Having the list of generated implants from implants.
Desktop (please complete the following information):
- OS: Kali linux
- Version 2024.3
Additional context Sliver version: compiled from master (c58cb2d)
Same issue for me