Documentation
¶
Index ¶
- type Server
- func (srv *Server) ClaimTasks(ctx context.Context, req *c2pb.ClaimTasksRequest) (*c2pb.ClaimTasksResponse, error)
- func (srv *Server) FetchAsset(req *c2pb.FetchAssetRequest, stream c2pb.C2_FetchAssetServer) error
- func (srv *Server) ReportCredential(ctx context.Context, req *c2pb.ReportCredentialRequest) (*c2pb.ReportCredentialResponse, error)
- func (srv *Server) ReportFile(stream c2pb.C2_ReportFileServer) error
- func (srv *Server) ReportProcessList(ctx context.Context, req *c2pb.ReportProcessListRequest) (*c2pb.ReportProcessListResponse, error)
- func (srv *Server) ReportTaskOutput(ctx context.Context, req *c2pb.ReportTaskOutputRequest) (*c2pb.ReportTaskOutputResponse, error)
- func (srv *Server) ReverseShell(gstream c2pb.C2_ReverseShellServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { MaxFileChunkSize uint64 c2pb.UnimplementedC2Server // contains filtered or unexported fields }
func (*Server) ClaimTasks ¶
func (srv *Server) ClaimTasks(ctx context.Context, req *c2pb.ClaimTasksRequest) (*c2pb.ClaimTasksResponse, error)
func (*Server) FetchAsset ¶ added in v0.0.7
func (srv *Server) FetchAsset(req *c2pb.FetchAssetRequest, stream c2pb.C2_FetchAssetServer) error
func (*Server) ReportCredential ¶ added in v0.0.7
func (srv *Server) ReportCredential(ctx context.Context, req *c2pb.ReportCredentialRequest) (*c2pb.ReportCredentialResponse, error)
func (*Server) ReportFile ¶ added in v0.0.5
func (srv *Server) ReportFile(stream c2pb.C2_ReportFileServer) error
func (*Server) ReportProcessList ¶ added in v0.0.5
func (srv *Server) ReportProcessList(ctx context.Context, req *c2pb.ReportProcessListRequest) (*c2pb.ReportProcessListResponse, error)
func (*Server) ReportTaskOutput ¶
func (srv *Server) ReportTaskOutput(ctx context.Context, req *c2pb.ReportTaskOutputRequest) (*c2pb.ReportTaskOutputResponse, error)
func (*Server) ReverseShell ¶ added in v0.2.0
func (srv *Server) ReverseShell(gstream c2pb.C2_ReverseShellServer) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.