Files
Will DeDominico f83dc42a64 fix(implant): services list panics on nil error (#1989)
servicesListHandler called err.Error() unconditionally after
service.ListServices(). On a healthy Windows host ListServices returns
nil error, causing a nil pointer dereference that crashed the implant.

serviceDetailHandler in the same file already guards correctly with
if err != nil. Apply the same pattern to servicesListHandler by
extracting response construction into a buildServicesResp helper with
a proper nil check.

Verified on Windows 11 VM: unfixed helper panics with "runtime error:
invalid memory address or nil pointer dereference" on the nil-error
path; fixed helper passes.

Fixes #1989
2026-04-20 20:13:46 -05:00
..
2025-10-26 20:13:26 -07:00
2026-02-05 09:28:55 -08:00
2026-02-05 09:28:55 -08:00
2026-02-05 09:28:55 -08:00
2025-10-04 11:49:32 -07:00

implant

Overview

Top-level tooling for building and maintaining Sliver implant payloads. Provides build pipelines, dependency vendoring, and shared entrypoints. Runtime components handle generate for implant-side implant features.

Go Files

  • generate.go Implements top-level implant build wiring invoked from the server/client tooling.
  • implant.go Entry point for compiling implants and exposing shared build helpers.

Sub-packages

  • scripts/ Helper scripts and utilities for implant vendor management and automation. Includes tooling for syncing nested vendored dependencies.
  • sliver/ Core Go implementation of the Sliver implant runtime and supporting subsystems. Houses communications, task execution, and platform abstraction layers.