Skip to content

Commit

Permalink
Improved comments
Browse files Browse the repository at this point in the history
  • Loading branch information
moloch-- committed Sep 19, 2022
1 parent f042dee commit bdf0c7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/generate/external.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/bishopfox/sliver/server/db/models"
)

// SliverExternal - Generates a sliver executable binary
// SliverExternal - Generates the cryptographic keys for the implant but compiles no code
func SliverExternal(name string, config *models.ImplantConfig) (*clientpb.ExternalImplantConfig, error) {
if config.Format != clientpb.OutputFormat_EXTERNAL {
return nil, fmt.Errorf("invalid format: %s", config.Format)
Expand Down
2 changes: 1 addition & 1 deletion server/rpc/rpc-generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func (rpc *Server) GetCompiler(ctx context.Context, _ *commonpb.Empty) (*clientp
return compiler, nil
}

// External builder RPCs
// *** External builder RPCs ***

// Generate - Generate a new implant
func (rpc *Server) GenerateExternal(ctx context.Context, req *clientpb.GenerateReq) (*clientpb.ExternalImplantConfig, error) {
Expand Down

0 comments on commit bdf0c7b

Please sign in to comment.