Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterApiCursServer(s grpc.ServiceRegistrar, srv ApiCursServer)
- type AliveScanRequest
- func (*AliveScanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AliveScanRequest) GetIp() []string
- func (x *AliveScanRequest) GetPort() []string
- func (x *AliveScanRequest) GetThread() int64
- func (x *AliveScanRequest) GetTimeout() int64
- func (*AliveScanRequest) ProtoMessage()
- func (x *AliveScanRequest) ProtoReflect() protoreflect.Message
- func (x *AliveScanRequest) Reset()
- func (x *AliveScanRequest) String() string
- type AliveScanResponse
- func (*AliveScanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AliveScanResponse) GetHost() string
- func (x *AliveScanResponse) GetRuntime() float32
- func (x *AliveScanResponse) GetStatus() bool
- func (*AliveScanResponse) ProtoMessage()
- func (x *AliveScanResponse) ProtoReflect() protoreflect.Message
- func (x *AliveScanResponse) Reset()
- func (x *AliveScanResponse) String() string
- type ApiCursClient
- type ApiCursServer
- type ApiCurs_AliveScanClient
- type ApiCurs_AliveScanServer
- type ApiCurs_BurpClient
- type ApiCurs_BurpServer
- type ApiCurs_PlatformCollectionClient
- type ApiCurs_PlatformCollectionServer
- type ApiCurs_PocScanClient
- type ApiCurs_PocScanServer
- type ApiCurs_PortScanClient
- type ApiCurs_PortScanServer
- type ApiCurs_ThirdApplicationCollectionClient
- type ApiCurs_ThirdApplicationCollectionServer
- type BurpOptions
- func (*BurpOptions) Descriptor() ([]byte, []int)deprecated
- func (x *BurpOptions) GetAuth() []*UserAuth
- func (x *BurpOptions) GetProxy() []string
- func (x *BurpOptions) GetThread() int64
- func (x *BurpOptions) GetTimeout() int64
- func (*BurpOptions) ProtoMessage()
- func (x *BurpOptions) ProtoReflect() protoreflect.Message
- func (x *BurpOptions) Reset()
- func (x *BurpOptions) String() string
- type BurpRequest
- func (*BurpRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BurpRequest) GetOptions() *BurpOptions
- func (x *BurpRequest) GetRequestParam() []*BurpRequestParam
- func (x *BurpRequest) GetRunId() int64
- func (*BurpRequest) ProtoMessage()
- func (x *BurpRequest) ProtoReflect() protoreflect.Message
- func (x *BurpRequest) Reset()
- func (x *BurpRequest) String() string
- type BurpRequestParam
- func (*BurpRequestParam) Descriptor() ([]byte, []int)deprecated
- func (x *BurpRequestParam) GetAddr() string
- func (x *BurpRequestParam) GetPort() string
- func (x *BurpRequestParam) GetService() Service
- func (*BurpRequestParam) ProtoMessage()
- func (x *BurpRequestParam) ProtoReflect() protoreflect.Message
- func (x *BurpRequestParam) Reset()
- func (x *BurpRequestParam) String() string
- type BurpResponse
- func (*BurpResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BurpResponse) GetAddr() string
- func (x *BurpResponse) GetAuth() *UserAuth
- func (x *BurpResponse) GetService() string
- func (x *BurpResponse) GetSuccess() bool
- func (*BurpResponse) ProtoMessage()
- func (x *BurpResponse) ProtoReflect() protoreflect.Message
- func (x *BurpResponse) Reset()
- func (x *BurpResponse) String() string
- type CollectionOptions
- func (*CollectionOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionOptions) GetApiKey() string
- func (x *CollectionOptions) GetDelayTime() int64
- func (x *CollectionOptions) GetMail() string
- func (x *CollectionOptions) GetMaxSize() int64
- func (x *CollectionOptions) GetPageSize() int64
- func (x *CollectionOptions) GetUsername() string
- func (*CollectionOptions) ProtoMessage()
- func (x *CollectionOptions) ProtoReflect() protoreflect.Message
- func (x *CollectionOptions) Reset()
- func (x *CollectionOptions) String() string
- type CollectionRequest
- func (*CollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionRequest) GetOptions() *CollectionOptions
- func (x *CollectionRequest) GetPlatform() CustomCollectionPlatformType
- func (x *CollectionRequest) GetQuery() string
- func (x *CollectionRequest) GetRunId() int64
- func (*CollectionRequest) ProtoMessage()
- func (x *CollectionRequest) ProtoReflect() protoreflect.Message
- func (x *CollectionRequest) Reset()
- func (x *CollectionRequest) String() string
- type CollectionResponse
- func (*CollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionResponse) GetAddr() string
- func (x *CollectionResponse) GetBanner() string
- func (x *CollectionResponse) GetCompany() string
- func (x *CollectionResponse) GetDomain() string
- func (x *CollectionResponse) GetHost() string
- func (x *CollectionResponse) GetHttps() bool
- func (x *CollectionResponse) GetIcpNumber() string
- func (x *CollectionResponse) GetLocation() string
- func (x *CollectionResponse) GetPlatform() string
- func (x *CollectionResponse) GetTime() string
- func (x *CollectionResponse) GetTitle() string
- func (x *CollectionResponse) GetUrl() string
- func (*CollectionResponse) ProtoMessage()
- func (x *CollectionResponse) ProtoReflect() protoreflect.Message
- func (x *CollectionResponse) Reset()
- func (x *CollectionResponse) String() string
- type CustomCollectionPlatformType
- func (CustomCollectionPlatformType) Descriptor() protoreflect.EnumDescriptor
- func (x CustomCollectionPlatformType) Enum() *CustomCollectionPlatformType
- func (CustomCollectionPlatformType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CustomCollectionPlatformType) Number() protoreflect.EnumNumber
- func (x CustomCollectionPlatformType) String() string
- func (CustomCollectionPlatformType) Type() protoreflect.EnumType
- type CustomResponse
- func (*CustomResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CustomResponse) GetMsg() []byte
- func (x *CustomResponse) GetStatus() bool
- func (*CustomResponse) ProtoMessage()
- func (x *CustomResponse) ProtoReflect() protoreflect.Message
- func (x *CustomResponse) Reset()
- func (x *CustomResponse) String() string
- type DbConnect
- func (*DbConnect) Descriptor() ([]byte, []int)deprecated
- func (x *DbConnect) GetDbAddress() string
- func (x *DbConnect) GetDbPassword() string
- func (x *DbConnect) GetDbType() string
- func (x *DbConnect) GetDbUserName() string
- func (x *DbConnect) GetUseDb() string
- func (*DbConnect) ProtoMessage()
- func (x *DbConnect) ProtoReflect() protoreflect.Message
- func (x *DbConnect) Reset()
- func (x *DbConnect) String() string
- type Empty
- type GlobalConfigurations
- func (*GlobalConfigurations) Descriptor() ([]byte, []int)deprecated
- func (x *GlobalConfigurations) GetDbOptions() *DbConnect
- func (x *GlobalConfigurations) GetDns() []string
- func (x *GlobalConfigurations) GetProxy() []string
- func (x *GlobalConfigurations) GetThread() int64
- func (x *GlobalConfigurations) GetTimeout() int64
- func (*GlobalConfigurations) ProtoMessage()
- func (x *GlobalConfigurations) ProtoReflect() protoreflect.Message
- func (x *GlobalConfigurations) Reset()
- func (x *GlobalConfigurations) String() string
- type HttpFlow
- type PocScanOptions
- func (*PocScanOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PocScanOptions) GetProxy() []string
- func (x *PocScanOptions) GetTags() string
- func (x *PocScanOptions) GetThread() int64
- func (x *PocScanOptions) GetTimeout() int64
- func (*PocScanOptions) ProtoMessage()
- func (x *PocScanOptions) ProtoReflect() protoreflect.Message
- func (x *PocScanOptions) Reset()
- func (x *PocScanOptions) String() string
- type PocScanParam
- func (*PocScanParam) Descriptor() ([]byte, []int)deprecated
- func (x *PocScanParam) GetPocId() string
- func (x *PocScanParam) GetTarget() string
- func (*PocScanParam) ProtoMessage()
- func (x *PocScanParam) ProtoReflect() protoreflect.Message
- func (x *PocScanParam) Reset()
- func (x *PocScanParam) String() string
- type PocScanRequest
- func (*PocScanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PocScanRequest) GetOptions() *PocScanOptions
- func (x *PocScanRequest) GetParams() []*PocScanParam
- func (x *PocScanRequest) GetRunId() int64
- func (*PocScanRequest) ProtoMessage()
- func (x *PocScanRequest) ProtoReflect() protoreflect.Message
- func (x *PocScanRequest) Reset()
- func (x *PocScanRequest) String() string
- type PocScanResponse
- func (*PocScanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PocScanResponse) GetHttpFlow() []*HttpFlow
- func (x *PocScanResponse) GetPocId() string
- func (x *PocScanResponse) GetRunTime() float32
- func (x *PocScanResponse) GetStatus() bool
- func (x *PocScanResponse) GetTarget() string
- func (*PocScanResponse) ProtoMessage()
- func (x *PocScanResponse) ProtoReflect() protoreflect.Message
- func (x *PocScanResponse) Reset()
- func (x *PocScanResponse) String() string
- type PortScanOptions
- func (*PortScanOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PortScanOptions) GetFingerCheck() bool
- func (x *PortScanOptions) GetProxy() []string
- func (x *PortScanOptions) GetThread() int64
- func (x *PortScanOptions) GetTimeout() int64
- func (*PortScanOptions) ProtoMessage()
- func (x *PortScanOptions) ProtoReflect() protoreflect.Message
- func (x *PortScanOptions) Reset()
- func (x *PortScanOptions) String() string
- type PortScanParam
- func (*PortScanParam) Descriptor() ([]byte, []int)deprecated
- func (x *PortScanParam) GetHost() string
- func (x *PortScanParam) GetPort() string
- func (*PortScanParam) ProtoMessage()
- func (x *PortScanParam) ProtoReflect() protoreflect.Message
- func (x *PortScanParam) Reset()
- func (x *PortScanParam) String() string
- type PortScanRequest
- func (*PortScanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PortScanRequest) GetOptions() *PortScanOptions
- func (x *PortScanRequest) GetParams() []*PortScanParam
- func (x *PortScanRequest) GetRunId() int64
- func (*PortScanRequest) ProtoMessage()
- func (x *PortScanRequest) ProtoReflect() protoreflect.Message
- func (x *PortScanRequest) Reset()
- func (x *PortScanRequest) String() string
- type PortScanResponse
- func (*PortScanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PortScanResponse) GetFinger() string
- func (x *PortScanResponse) GetParam() *PortScanParam
- func (x *PortScanResponse) GetStatus() string
- func (*PortScanResponse) ProtoMessage()
- func (x *PortScanResponse) ProtoReflect() protoreflect.Message
- func (x *PortScanResponse) Reset()
- func (x *PortScanResponse) String() string
- type PortScanType
- func (PortScanType) Descriptor() protoreflect.EnumDescriptor
- func (x PortScanType) Enum() *PortScanType
- func (PortScanType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PortScanType) Number() protoreflect.EnumNumber
- func (x PortScanType) String() string
- func (PortScanType) Type() protoreflect.EnumType
- type ProxyType
- type Service
- type TaskType
- type TaskerRequest
- func (*TaskerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TaskerRequest) GetRunId() int64
- func (x *TaskerRequest) GetType() TaskType
- func (*TaskerRequest) ProtoMessage()
- func (x *TaskerRequest) ProtoReflect() protoreflect.Message
- func (x *TaskerRequest) Reset()
- func (x *TaskerRequest) String() string
- type ThirdApplication
- func (ThirdApplication) Descriptor() protoreflect.EnumDescriptor
- func (x ThirdApplication) Enum() *ThirdApplication
- func (ThirdApplication) EnumDescriptor() ([]byte, []int)deprecated
- func (x ThirdApplication) Number() protoreflect.EnumNumber
- func (x ThirdApplication) String() string
- func (ThirdApplication) Type() protoreflect.EnumType
- type ThirdCollectionRequest
- func (*ThirdCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ThirdCollectionRequest) GetFields() string
- func (x *ThirdCollectionRequest) GetOptions() *CollectionOptions
- func (x *ThirdCollectionRequest) GetPlatform() ThirdApplication
- func (x *ThirdCollectionRequest) GetRunId() int64
- func (*ThirdCollectionRequest) ProtoMessage()
- func (x *ThirdCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *ThirdCollectionRequest) Reset()
- func (x *ThirdCollectionRequest) String() string
- type UnimplementedApiCursServer
- func (UnimplementedApiCursServer) AliveScan(*AliveScanRequest, ApiCurs_AliveScanServer) error
- func (UnimplementedApiCursServer) Burp(*BurpRequest, ApiCurs_BurpServer) error
- func (UnimplementedApiCursServer) GetAllTasks(context.Context, *Empty) (*CustomResponse, error)
- func (UnimplementedApiCursServer) HandleTask(context.Context, *TaskerRequest) (*CustomResponse, error)
- func (UnimplementedApiCursServer) HealthCheck(context.Context, *Empty) (*CustomResponse, error)
- func (UnimplementedApiCursServer) InitConfigurations(context.Context, *GlobalConfigurations) (*CustomResponse, error)
- func (UnimplementedApiCursServer) PlatformCollection(*CollectionRequest, ApiCurs_PlatformCollectionServer) error
- func (UnimplementedApiCursServer) PocScan(*PocScanRequest, ApiCurs_PocScanServer) error
- func (UnimplementedApiCursServer) PortScan(*PortScanRequest, ApiCurs_PortScanServer) error
- func (UnimplementedApiCursServer) ThirdApplicationCollection(ApiCurs_ThirdApplicationCollectionServer) error
- func (UnimplementedApiCursServer) UpdateConfigurations(context.Context, *GlobalConfigurations) (*CustomResponse, error)
- type UnsafeApiCursServer
- type UserAuth
Constants ¶
const ( ApiCurs_HandleTask_FullMethodName = "/service.ApiCurs/HandleTask" ApiCurs_GetAllTasks_FullMethodName = "/service.ApiCurs/GetAllTasks" ApiCurs_HealthCheck_FullMethodName = "/service.ApiCurs/HealthCheck" ApiCurs_PlatformCollection_FullMethodName = "/service.ApiCurs/PlatformCollection" ApiCurs_Burp_FullMethodName = "/service.ApiCurs/Burp" ApiCurs_PortScan_FullMethodName = "/service.ApiCurs/PortScan" ApiCurs_PocScan_FullMethodName = "/service.ApiCurs/PocScan" ApiCurs_ThirdApplicationCollection_FullMethodName = "/service.ApiCurs/ThirdApplicationCollection" ApiCurs_AliveScan_FullMethodName = "/service.ApiCurs/AliveScan" ApiCurs_InitConfigurations_FullMethodName = "/service.ApiCurs/InitConfigurations" ApiCurs_UpdateConfigurations_FullMethodName = "/service.ApiCurs/UpdateConfigurations" )
Variables ¶
var ( CustomCollectionPlatformType_name = map[int32]string{ 0: "FoFa", 1: "Quake", 2: "Hunter", 3: "ZoomEye", } CustomCollectionPlatformType_value = map[string]int32{ "FoFa": 0, "Quake": 1, "Hunter": 2, "ZoomEye": 3, } )
Enum value maps for CustomCollectionPlatformType.
var ( ThirdApplication_name = map[int32]string{ 0: "TYC", 2: "QCC", 3: "Google", 4: "Github", 5: "Chinaz", 6: "AiZhan", } ThirdApplication_value = map[string]int32{ "TYC": 0, "QCC": 2, "Google": 3, "Github": 4, "Chinaz": 5, "AiZhan": 6, } )
Enum value maps for ThirdApplication.
var ( TaskType_name = map[int32]string{ 0: "Resume", 1: "Pause", 2: "Stop", } TaskType_value = map[string]int32{ "Resume": 0, "Pause": 1, "Stop": 2, } )
Enum value maps for TaskType.
var ( PortScanType_name = map[int32]string{ 0: "Tcp_Syn", 1: "Tcp_Connect", } PortScanType_value = map[string]int32{ "Tcp_Syn": 0, "Tcp_Connect": 1, } )
Enum value maps for PortScanType.
var ( Service_name = map[int32]string{ 0: "Ftp", 1: "Mysql", 2: "Oracle", 3: "SqlServer", 4: "Redis", 5: "SSH", 6: "Pop3", 7: "Rdp", 8: "Smb", 9: "MonGoDb", 10: "Postgres", 11: "Custom", } Service_value = map[string]int32{ "Ftp": 0, "Mysql": 1, "Oracle": 2, "SqlServer": 3, "Redis": 4, "SSH": 5, "Pop3": 6, "Rdp": 7, "Smb": 8, "MonGoDb": 9, "Postgres": 10, "Custom": 11, } )
Enum value maps for Service.
var ( ProxyType_name = map[int32]string{ 0: "Socks5", 1: "Http", } ProxyType_value = map[string]int32{ "Socks5": 0, "Http": 1, } )
Enum value maps for ProxyType.
var ApiCurs_ServiceDesc = grpc.ServiceDesc{ ServiceName: "service.ApiCurs", HandlerType: (*ApiCursServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "HandleTask", Handler: _ApiCurs_HandleTask_Handler, }, { MethodName: "GetAllTasks", Handler: _ApiCurs_GetAllTasks_Handler, }, { MethodName: "HealthCheck", Handler: _ApiCurs_HealthCheck_Handler, }, { MethodName: "InitConfigurations", Handler: _ApiCurs_InitConfigurations_Handler, }, { MethodName: "UpdateConfigurations", Handler: _ApiCurs_UpdateConfigurations_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "PlatformCollection", Handler: _ApiCurs_PlatformCollection_Handler, ServerStreams: true, }, { StreamName: "Burp", Handler: _ApiCurs_Burp_Handler, ServerStreams: true, }, { StreamName: "PortScan", Handler: _ApiCurs_PortScan_Handler, ServerStreams: true, }, { StreamName: "PocScan", Handler: _ApiCurs_PocScan_Handler, ServerStreams: true, }, { StreamName: "ThirdApplicationCollection", Handler: _ApiCurs_ThirdApplicationCollection_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "AliveScan", Handler: _ApiCurs_AliveScan_Handler, ServerStreams: true, }, }, Metadata: "apicurs.proto", }
ApiCurs_ServiceDesc is the grpc.ServiceDesc for ApiCurs service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_apicurs_proto protoreflect.FileDescriptor
Functions ¶
func RegisterApiCursServer ¶
func RegisterApiCursServer(s grpc.ServiceRegistrar, srv ApiCursServer)
Types ¶
type AliveScanRequest ¶
type AliveScanRequest struct { Thread int64 `protobuf:"varint,1,opt,name=Thread,proto3" json:"Thread,omitempty"` Timeout int64 `protobuf:"varint,2,opt,name=Timeout,proto3" json:"Timeout,omitempty"` Ip []string `protobuf:"bytes,4,rep,name=Ip,proto3" json:"Ip,omitempty"` Port []string `protobuf:"bytes,5,rep,name=Port,proto3" json:"Port,omitempty"` // contains filtered or unexported fields }
AliveScanRequest 存活探测应该也把domain加上
func (*AliveScanRequest) Descriptor
deprecated
func (*AliveScanRequest) Descriptor() ([]byte, []int)
Deprecated: Use AliveScanRequest.ProtoReflect.Descriptor instead.
func (*AliveScanRequest) GetIp ¶
func (x *AliveScanRequest) GetIp() []string
func (*AliveScanRequest) GetPort ¶
func (x *AliveScanRequest) GetPort() []string
func (*AliveScanRequest) GetThread ¶
func (x *AliveScanRequest) GetThread() int64
func (*AliveScanRequest) GetTimeout ¶
func (x *AliveScanRequest) GetTimeout() int64
func (*AliveScanRequest) ProtoMessage ¶
func (*AliveScanRequest) ProtoMessage()
func (*AliveScanRequest) ProtoReflect ¶
func (x *AliveScanRequest) ProtoReflect() protoreflect.Message
func (*AliveScanRequest) Reset ¶
func (x *AliveScanRequest) Reset()
func (*AliveScanRequest) String ¶
func (x *AliveScanRequest) String() string
type AliveScanResponse ¶
type AliveScanResponse struct { Host string `protobuf:"bytes,1,opt,name=Host,proto3" json:"Host,omitempty"` Status bool `protobuf:"varint,2,opt,name=Status,proto3" json:"Status,omitempty"` Runtime float32 `protobuf:"fixed32,3,opt,name=Runtime,proto3" json:"Runtime,omitempty"` // contains filtered or unexported fields }
func (*AliveScanResponse) Descriptor
deprecated
func (*AliveScanResponse) Descriptor() ([]byte, []int)
Deprecated: Use AliveScanResponse.ProtoReflect.Descriptor instead.
func (*AliveScanResponse) GetHost ¶
func (x *AliveScanResponse) GetHost() string
func (*AliveScanResponse) GetRuntime ¶
func (x *AliveScanResponse) GetRuntime() float32
func (*AliveScanResponse) GetStatus ¶
func (x *AliveScanResponse) GetStatus() bool
func (*AliveScanResponse) ProtoMessage ¶
func (*AliveScanResponse) ProtoMessage()
func (*AliveScanResponse) ProtoReflect ¶
func (x *AliveScanResponse) ProtoReflect() protoreflect.Message
func (*AliveScanResponse) Reset ¶
func (x *AliveScanResponse) Reset()
func (*AliveScanResponse) String ¶
func (x *AliveScanResponse) String() string
type ApiCursClient ¶
type ApiCursClient interface { //任务处理 HandleTask(ctx context.Context, in *TaskerRequest, opts ...grpc.CallOption) (*CustomResponse, error) //获取任务 GetAllTasks(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*CustomResponse, error) //健康检测的接口 HealthCheck(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*CustomResponse, error) //平台信息搜集 PlatformCollection(ctx context.Context, in *CollectionRequest, opts ...grpc.CallOption) (ApiCurs_PlatformCollectionClient, error) //服务+目录扫描 Burp(ctx context.Context, in *BurpRequest, opts ...grpc.CallOption) (ApiCurs_BurpClient, error) //端口扫描 PortScan(ctx context.Context, in *PortScanRequest, opts ...grpc.CallOption) (ApiCurs_PortScanClient, error) //poc扫描 PocScan(ctx context.Context, in *PocScanRequest, opts ...grpc.CallOption) (ApiCurs_PocScanClient, error) //第三方接口 ThirdApplicationCollection(ctx context.Context, opts ...grpc.CallOption) (ApiCurs_ThirdApplicationCollectionClient, error) //存活探测 AliveScan(ctx context.Context, in *AliveScanRequest, opts ...grpc.CallOption) (ApiCurs_AliveScanClient, error) InitConfigurations(ctx context.Context, in *GlobalConfigurations, opts ...grpc.CallOption) (*CustomResponse, error) UpdateConfigurations(ctx context.Context, in *GlobalConfigurations, opts ...grpc.CallOption) (*CustomResponse, error) }
ApiCursClient is the client API for ApiCurs service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewApiCursClient ¶
func NewApiCursClient(cc grpc.ClientConnInterface) ApiCursClient
type ApiCursServer ¶
type ApiCursServer interface { //任务处理 HandleTask(context.Context, *TaskerRequest) (*CustomResponse, error) //获取任务 GetAllTasks(context.Context, *Empty) (*CustomResponse, error) //健康检测的接口 HealthCheck(context.Context, *Empty) (*CustomResponse, error) //平台信息搜集 PlatformCollection(*CollectionRequest, ApiCurs_PlatformCollectionServer) error //服务+目录扫描 Burp(*BurpRequest, ApiCurs_BurpServer) error //端口扫描 PortScan(*PortScanRequest, ApiCurs_PortScanServer) error //poc扫描 PocScan(*PocScanRequest, ApiCurs_PocScanServer) error //第三方接口 ThirdApplicationCollection(ApiCurs_ThirdApplicationCollectionServer) error //存活探测 AliveScan(*AliveScanRequest, ApiCurs_AliveScanServer) error InitConfigurations(context.Context, *GlobalConfigurations) (*CustomResponse, error) UpdateConfigurations(context.Context, *GlobalConfigurations) (*CustomResponse, error) // contains filtered or unexported methods }
ApiCursServer is the server API for ApiCurs service. All implementations must embed UnimplementedApiCursServer for forward compatibility
type ApiCurs_AliveScanClient ¶
type ApiCurs_AliveScanClient interface { Recv() (*AliveScanResponse, error) grpc.ClientStream }
type ApiCurs_AliveScanServer ¶
type ApiCurs_AliveScanServer interface { Send(*AliveScanResponse) error grpc.ServerStream }
type ApiCurs_BurpClient ¶
type ApiCurs_BurpClient interface { Recv() (*BurpResponse, error) grpc.ClientStream }
type ApiCurs_BurpServer ¶
type ApiCurs_BurpServer interface { Send(*BurpResponse) error grpc.ServerStream }
type ApiCurs_PlatformCollectionClient ¶
type ApiCurs_PlatformCollectionClient interface { Recv() (*CollectionResponse, error) grpc.ClientStream }
type ApiCurs_PlatformCollectionServer ¶
type ApiCurs_PlatformCollectionServer interface { Send(*CollectionResponse) error grpc.ServerStream }
type ApiCurs_PocScanClient ¶
type ApiCurs_PocScanClient interface { Recv() (*PocScanResponse, error) grpc.ClientStream }
type ApiCurs_PocScanServer ¶
type ApiCurs_PocScanServer interface { Send(*PocScanResponse) error grpc.ServerStream }
type ApiCurs_PortScanClient ¶
type ApiCurs_PortScanClient interface { Recv() (*PortScanResponse, error) grpc.ClientStream }
type ApiCurs_PortScanServer ¶
type ApiCurs_PortScanServer interface { Send(*PortScanResponse) error grpc.ServerStream }
type ApiCurs_ThirdApplicationCollectionClient ¶
type ApiCurs_ThirdApplicationCollectionClient interface { Send(*ThirdCollectionRequest) error Recv() (*CustomResponse, error) grpc.ClientStream }
type ApiCurs_ThirdApplicationCollectionServer ¶
type ApiCurs_ThirdApplicationCollectionServer interface { Send(*CustomResponse) error Recv() (*ThirdCollectionRequest, error) grpc.ServerStream }
type BurpOptions ¶
type BurpOptions struct { Thread int64 `protobuf:"varint,1,opt,name=Thread,proto3" json:"Thread,omitempty"` Timeout int64 `protobuf:"varint,2,opt,name=Timeout,proto3" json:"Timeout,omitempty"` Proxy []string `protobuf:"bytes,3,rep,name=Proxy,proto3" json:"Proxy,omitempty"` Auth []*UserAuth `protobuf:"bytes,4,rep,name=Auth,proto3" json:"Auth,omitempty"` // contains filtered or unexported fields }
func (*BurpOptions) Descriptor
deprecated
func (*BurpOptions) Descriptor() ([]byte, []int)
Deprecated: Use BurpOptions.ProtoReflect.Descriptor instead.
func (*BurpOptions) GetAuth ¶
func (x *BurpOptions) GetAuth() []*UserAuth
func (*BurpOptions) GetProxy ¶
func (x *BurpOptions) GetProxy() []string
func (*BurpOptions) GetThread ¶
func (x *BurpOptions) GetThread() int64
func (*BurpOptions) GetTimeout ¶
func (x *BurpOptions) GetTimeout() int64
func (*BurpOptions) ProtoMessage ¶
func (*BurpOptions) ProtoMessage()
func (*BurpOptions) ProtoReflect ¶
func (x *BurpOptions) ProtoReflect() protoreflect.Message
func (*BurpOptions) Reset ¶
func (x *BurpOptions) Reset()
func (*BurpOptions) String ¶
func (x *BurpOptions) String() string
type BurpRequest ¶
type BurpRequest struct { RunId int64 `protobuf:"varint,1,opt,name=RunId,proto3" json:"RunId,omitempty"` RequestParam []*BurpRequestParam `protobuf:"bytes,2,rep,name=RequestParam,proto3" json:"RequestParam,omitempty"` Options *BurpOptions `protobuf:"bytes,3,opt,name=Options,proto3" json:"Options,omitempty"` // contains filtered or unexported fields }
func (*BurpRequest) Descriptor
deprecated
func (*BurpRequest) Descriptor() ([]byte, []int)
Deprecated: Use BurpRequest.ProtoReflect.Descriptor instead.
func (*BurpRequest) GetOptions ¶
func (x *BurpRequest) GetOptions() *BurpOptions
func (*BurpRequest) GetRequestParam ¶
func (x *BurpRequest) GetRequestParam() []*BurpRequestParam
func (*BurpRequest) GetRunId ¶
func (x *BurpRequest) GetRunId() int64
func (*BurpRequest) ProtoMessage ¶
func (*BurpRequest) ProtoMessage()
func (*BurpRequest) ProtoReflect ¶
func (x *BurpRequest) ProtoReflect() protoreflect.Message
func (*BurpRequest) Reset ¶
func (x *BurpRequest) Reset()
func (*BurpRequest) String ¶
func (x *BurpRequest) String() string
type BurpRequestParam ¶
type BurpRequestParam struct { Addr string `protobuf:"bytes,1,opt,name=Addr,proto3" json:"Addr,omitempty"` Port string `protobuf:"bytes,2,opt,name=Port,proto3" json:"Port,omitempty"` Service Service `protobuf:"varint,4,opt,name=Service,proto3,enum=service.Service" json:"Service,omitempty"` // contains filtered or unexported fields }
func (*BurpRequestParam) Descriptor
deprecated
func (*BurpRequestParam) Descriptor() ([]byte, []int)
Deprecated: Use BurpRequestParam.ProtoReflect.Descriptor instead.
func (*BurpRequestParam) GetAddr ¶
func (x *BurpRequestParam) GetAddr() string
func (*BurpRequestParam) GetPort ¶
func (x *BurpRequestParam) GetPort() string
func (*BurpRequestParam) GetService ¶
func (x *BurpRequestParam) GetService() Service
func (*BurpRequestParam) ProtoMessage ¶
func (*BurpRequestParam) ProtoMessage()
func (*BurpRequestParam) ProtoReflect ¶
func (x *BurpRequestParam) ProtoReflect() protoreflect.Message
func (*BurpRequestParam) Reset ¶
func (x *BurpRequestParam) Reset()
func (*BurpRequestParam) String ¶
func (x *BurpRequestParam) String() string
type BurpResponse ¶
type BurpResponse struct { Addr string `protobuf:"bytes,1,opt,name=Addr,proto3" json:"Addr,omitempty"` Service string `protobuf:"bytes,2,opt,name=Service,proto3" json:"Service,omitempty"` Auth *UserAuth `protobuf:"bytes,3,opt,name=Auth,proto3" json:"Auth,omitempty"` Success bool `protobuf:"varint,4,opt,name=Success,proto3" json:"Success,omitempty"` // contains filtered or unexported fields }
func (*BurpResponse) Descriptor
deprecated
func (*BurpResponse) Descriptor() ([]byte, []int)
Deprecated: Use BurpResponse.ProtoReflect.Descriptor instead.
func (*BurpResponse) GetAddr ¶
func (x *BurpResponse) GetAddr() string
func (*BurpResponse) GetAuth ¶
func (x *BurpResponse) GetAuth() *UserAuth
func (*BurpResponse) GetService ¶
func (x *BurpResponse) GetService() string
func (*BurpResponse) GetSuccess ¶
func (x *BurpResponse) GetSuccess() bool
func (*BurpResponse) ProtoMessage ¶
func (*BurpResponse) ProtoMessage()
func (*BurpResponse) ProtoReflect ¶
func (x *BurpResponse) ProtoReflect() protoreflect.Message
func (*BurpResponse) Reset ¶
func (x *BurpResponse) Reset()
func (*BurpResponse) String ¶
func (x *BurpResponse) String() string
type CollectionOptions ¶
type CollectionOptions struct { ApiKey string `protobuf:"bytes,1,opt,name=ApiKey,proto3" json:"ApiKey,omitempty"` Mail string `protobuf:"bytes,2,opt,name=Mail,proto3" json:"Mail,omitempty"` DelayTime int64 `protobuf:"varint,3,opt,name=DelayTime,proto3" json:"DelayTime,omitempty"` PageSize int64 `protobuf:"varint,4,opt,name=PageSize,proto3" json:"PageSize,omitempty"` MaxSize int64 `protobuf:"varint,5,opt,name=MaxSize,proto3" json:"MaxSize,omitempty"` //最大数量 Username string `protobuf:"bytes,6,opt,name=Username,proto3" json:"Username,omitempty"` //认证用户名 // contains filtered or unexported fields }
func (*CollectionOptions) Descriptor
deprecated
func (*CollectionOptions) Descriptor() ([]byte, []int)
Deprecated: Use CollectionOptions.ProtoReflect.Descriptor instead.
func (*CollectionOptions) GetApiKey ¶
func (x *CollectionOptions) GetApiKey() string
func (*CollectionOptions) GetDelayTime ¶
func (x *CollectionOptions) GetDelayTime() int64
func (*CollectionOptions) GetMail ¶
func (x *CollectionOptions) GetMail() string
func (*CollectionOptions) GetMaxSize ¶
func (x *CollectionOptions) GetMaxSize() int64
func (*CollectionOptions) GetPageSize ¶
func (x *CollectionOptions) GetPageSize() int64
func (*CollectionOptions) GetUsername ¶
func (x *CollectionOptions) GetUsername() string
func (*CollectionOptions) ProtoMessage ¶
func (*CollectionOptions) ProtoMessage()
func (*CollectionOptions) ProtoReflect ¶
func (x *CollectionOptions) ProtoReflect() protoreflect.Message
func (*CollectionOptions) Reset ¶
func (x *CollectionOptions) Reset()
func (*CollectionOptions) String ¶
func (x *CollectionOptions) String() string
type CollectionRequest ¶
type CollectionRequest struct { RunId int64 `protobuf:"varint,1,opt,name=RunId,proto3" json:"RunId,omitempty"` Platform CustomCollectionPlatformType `protobuf:"varint,2,opt,name=Platform,proto3,enum=service.CustomCollectionPlatformType" json:"Platform,omitempty"` //平台 Options *CollectionOptions `protobuf:"bytes,3,opt,name=Options,proto3" json:"Options,omitempty"` //配置 Query string `protobuf:"bytes,4,opt,name=Query,proto3" json:"Query,omitempty"` //查询内容 // contains filtered or unexported fields }
func (*CollectionRequest) Descriptor
deprecated
func (*CollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CollectionRequest.ProtoReflect.Descriptor instead.
func (*CollectionRequest) GetOptions ¶
func (x *CollectionRequest) GetOptions() *CollectionOptions
func (*CollectionRequest) GetPlatform ¶
func (x *CollectionRequest) GetPlatform() CustomCollectionPlatformType
func (*CollectionRequest) GetQuery ¶
func (x *CollectionRequest) GetQuery() string
func (*CollectionRequest) GetRunId ¶
func (x *CollectionRequest) GetRunId() int64
func (*CollectionRequest) ProtoMessage ¶
func (*CollectionRequest) ProtoMessage()
func (*CollectionRequest) ProtoReflect ¶
func (x *CollectionRequest) ProtoReflect() protoreflect.Message
func (*CollectionRequest) Reset ¶
func (x *CollectionRequest) Reset()
func (*CollectionRequest) String ¶
func (x *CollectionRequest) String() string
type CollectionResponse ¶
type CollectionResponse struct { Addr string `protobuf:"bytes,1,opt,name=Addr,proto3" json:"Addr,omitempty"` Url string `protobuf:"bytes,2,opt,name=Url,proto3" json:"Url,omitempty"` Domain string `protobuf:"bytes,3,opt,name=Domain,proto3" json:"Domain,omitempty"` Title string `protobuf:"bytes,4,opt,name=Title,proto3" json:"Title,omitempty"` Time string `protobuf:"bytes,5,opt,name=Time,proto3" json:"Time,omitempty"` Banner string `protobuf:"bytes,6,opt,name=Banner,proto3" json:"Banner,omitempty"` Location string `protobuf:"bytes,7,opt,name=Location,proto3" json:"Location,omitempty"` Company string `protobuf:"bytes,8,opt,name=Company,proto3" json:"Company,omitempty"` IcpNumber string `protobuf:"bytes,9,opt,name=IcpNumber,proto3" json:"IcpNumber,omitempty"` Https bool `protobuf:"varint,10,opt,name=Https,proto3" json:"Https,omitempty"` //是否是https Platform string `protobuf:"bytes,11,opt,name=Platform,proto3" json:"Platform,omitempty"` //平台 Host string `protobuf:"bytes,12,opt,name=Host,proto3" json:"Host,omitempty"` // contains filtered or unexported fields }
func (*CollectionResponse) Descriptor
deprecated
func (*CollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CollectionResponse.ProtoReflect.Descriptor instead.
func (*CollectionResponse) GetAddr ¶
func (x *CollectionResponse) GetAddr() string
func (*CollectionResponse) GetBanner ¶
func (x *CollectionResponse) GetBanner() string
func (*CollectionResponse) GetCompany ¶
func (x *CollectionResponse) GetCompany() string
func (*CollectionResponse) GetDomain ¶
func (x *CollectionResponse) GetDomain() string
func (*CollectionResponse) GetHost ¶
func (x *CollectionResponse) GetHost() string
func (*CollectionResponse) GetHttps ¶
func (x *CollectionResponse) GetHttps() bool
func (*CollectionResponse) GetIcpNumber ¶
func (x *CollectionResponse) GetIcpNumber() string
func (*CollectionResponse) GetLocation ¶
func (x *CollectionResponse) GetLocation() string
func (*CollectionResponse) GetPlatform ¶
func (x *CollectionResponse) GetPlatform() string
func (*CollectionResponse) GetTime ¶
func (x *CollectionResponse) GetTime() string
func (*CollectionResponse) GetTitle ¶
func (x *CollectionResponse) GetTitle() string
func (*CollectionResponse) GetUrl ¶
func (x *CollectionResponse) GetUrl() string
func (*CollectionResponse) ProtoMessage ¶
func (*CollectionResponse) ProtoMessage()
func (*CollectionResponse) ProtoReflect ¶
func (x *CollectionResponse) ProtoReflect() protoreflect.Message
func (*CollectionResponse) Reset ¶
func (x *CollectionResponse) Reset()
func (*CollectionResponse) String ¶
func (x *CollectionResponse) String() string
type CustomCollectionPlatformType ¶
type CustomCollectionPlatformType int32
const ( CustomCollectionPlatformType_FoFa CustomCollectionPlatformType = 0 CustomCollectionPlatformType_Quake CustomCollectionPlatformType = 1 CustomCollectionPlatformType_Hunter CustomCollectionPlatformType = 2 CustomCollectionPlatformType_ZoomEye CustomCollectionPlatformType = 3 )
func (CustomCollectionPlatformType) Descriptor ¶
func (CustomCollectionPlatformType) Descriptor() protoreflect.EnumDescriptor
func (CustomCollectionPlatformType) Enum ¶
func (x CustomCollectionPlatformType) Enum() *CustomCollectionPlatformType
func (CustomCollectionPlatformType) EnumDescriptor
deprecated
func (CustomCollectionPlatformType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CustomCollectionPlatformType.Descriptor instead.
func (CustomCollectionPlatformType) Number ¶
func (x CustomCollectionPlatformType) Number() protoreflect.EnumNumber
func (CustomCollectionPlatformType) String ¶
func (x CustomCollectionPlatformType) String() string
func (CustomCollectionPlatformType) Type ¶
func (CustomCollectionPlatformType) Type() protoreflect.EnumType
type CustomResponse ¶
type CustomResponse struct { Status bool `protobuf:"varint,1,opt,name=Status,proto3" json:"Status,omitempty"` Msg []byte `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` // contains filtered or unexported fields }
func (*CustomResponse) Descriptor
deprecated
func (*CustomResponse) Descriptor() ([]byte, []int)
Deprecated: Use CustomResponse.ProtoReflect.Descriptor instead.
func (*CustomResponse) GetMsg ¶
func (x *CustomResponse) GetMsg() []byte
func (*CustomResponse) GetStatus ¶
func (x *CustomResponse) GetStatus() bool
func (*CustomResponse) ProtoMessage ¶
func (*CustomResponse) ProtoMessage()
func (*CustomResponse) ProtoReflect ¶
func (x *CustomResponse) ProtoReflect() protoreflect.Message
func (*CustomResponse) Reset ¶
func (x *CustomResponse) Reset()
func (*CustomResponse) String ¶
func (x *CustomResponse) String() string
type DbConnect ¶
type DbConnect struct { DbAddress string `protobuf:"bytes,1,opt,name=DbAddress,proto3" json:"DbAddress,omitempty"` //数据库地址 DbUserName string `protobuf:"bytes,2,opt,name=DbUserName,proto3" json:"DbUserName,omitempty"` //数据库名称 DbPassword string `protobuf:"bytes,3,opt,name=DbPassword,proto3" json:"DbPassword,omitempty"` //数据库密码 UseDb string `protobuf:"bytes,4,opt,name=UseDb,proto3" json:"UseDb,omitempty"` //使用的数据库 DbType string `protobuf:"bytes,5,opt,name=DbType,proto3" json:"DbType,omitempty"` //数据类型 // contains filtered or unexported fields }
func (*DbConnect) Descriptor
deprecated
func (*DbConnect) GetDbAddress ¶
func (*DbConnect) GetDbPassword ¶
func (*DbConnect) GetDbUserName ¶
func (*DbConnect) ProtoMessage ¶
func (*DbConnect) ProtoMessage()
func (*DbConnect) ProtoReflect ¶
func (x *DbConnect) ProtoReflect() protoreflect.Message
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type GlobalConfigurations ¶
type GlobalConfigurations struct { Proxy []string `protobuf:"bytes,1,rep,name=Proxy,proto3" json:"Proxy,omitempty"` //代理群 Dns []string `protobuf:"bytes,2,rep,name=Dns,proto3" json:"Dns,omitempty"` //配置的Dns解析地址 DbOptions *DbConnect `protobuf:"bytes,3,opt,name=DbOptions,proto3" json:"DbOptions,omitempty"` //数据库配置 Thread int64 `protobuf:"varint,4,opt,name=Thread,proto3" json:"Thread,omitempty"` Timeout int64 `protobuf:"varint,5,opt,name=Timeout,proto3" json:"Timeout,omitempty"` // contains filtered or unexported fields }
GlobalConfigurations 全局配置
func (*GlobalConfigurations) Descriptor
deprecated
func (*GlobalConfigurations) Descriptor() ([]byte, []int)
Deprecated: Use GlobalConfigurations.ProtoReflect.Descriptor instead.
func (*GlobalConfigurations) GetDbOptions ¶
func (x *GlobalConfigurations) GetDbOptions() *DbConnect
func (*GlobalConfigurations) GetDns ¶
func (x *GlobalConfigurations) GetDns() []string
func (*GlobalConfigurations) GetProxy ¶
func (x *GlobalConfigurations) GetProxy() []string
func (*GlobalConfigurations) GetThread ¶
func (x *GlobalConfigurations) GetThread() int64
func (*GlobalConfigurations) GetTimeout ¶
func (x *GlobalConfigurations) GetTimeout() int64
func (*GlobalConfigurations) ProtoMessage ¶
func (*GlobalConfigurations) ProtoMessage()
func (*GlobalConfigurations) ProtoReflect ¶
func (x *GlobalConfigurations) ProtoReflect() protoreflect.Message
func (*GlobalConfigurations) Reset ¶
func (x *GlobalConfigurations) Reset()
func (*GlobalConfigurations) String ¶
func (x *GlobalConfigurations) String() string
type HttpFlow ¶
type HttpFlow struct { HttpRequest string `protobuf:"bytes,1,opt,name=HttpRequest,proto3" json:"HttpRequest,omitempty"` HttpResponse string `protobuf:"bytes,2,opt,name=HttpResponse,proto3" json:"HttpResponse,omitempty"` // contains filtered or unexported fields }
func (*HttpFlow) Descriptor
deprecated
func (*HttpFlow) GetHttpRequest ¶
func (*HttpFlow) GetHttpResponse ¶
func (*HttpFlow) ProtoMessage ¶
func (*HttpFlow) ProtoMessage()
func (*HttpFlow) ProtoReflect ¶
func (x *HttpFlow) ProtoReflect() protoreflect.Message
type PocScanOptions ¶
type PocScanOptions struct { Timeout int64 `protobuf:"varint,1,opt,name=Timeout,proto3" json:"Timeout,omitempty"` Thread int64 `protobuf:"varint,2,opt,name=Thread,proto3" json:"Thread,omitempty"` Proxy []string `protobuf:"bytes,3,rep,name=Proxy,proto3" json:"Proxy,omitempty"` Tags string `protobuf:"bytes,4,opt,name=Tags,proto3" json:"Tags,omitempty"` // contains filtered or unexported fields }
func (*PocScanOptions) Descriptor
deprecated
func (*PocScanOptions) Descriptor() ([]byte, []int)
Deprecated: Use PocScanOptions.ProtoReflect.Descriptor instead.
func (*PocScanOptions) GetProxy ¶
func (x *PocScanOptions) GetProxy() []string
func (*PocScanOptions) GetTags ¶
func (x *PocScanOptions) GetTags() string
func (*PocScanOptions) GetThread ¶
func (x *PocScanOptions) GetThread() int64
func (*PocScanOptions) GetTimeout ¶
func (x *PocScanOptions) GetTimeout() int64
func (*PocScanOptions) ProtoMessage ¶
func (*PocScanOptions) ProtoMessage()
func (*PocScanOptions) ProtoReflect ¶
func (x *PocScanOptions) ProtoReflect() protoreflect.Message
func (*PocScanOptions) Reset ¶
func (x *PocScanOptions) Reset()
func (*PocScanOptions) String ¶
func (x *PocScanOptions) String() string
type PocScanParam ¶
type PocScanParam struct { PocId string `protobuf:"bytes,1,opt,name=PocId,proto3" json:"PocId,omitempty"` Target string `protobuf:"bytes,2,opt,name=Target,proto3" json:"Target,omitempty"` // contains filtered or unexported fields }
func (*PocScanParam) Descriptor
deprecated
func (*PocScanParam) Descriptor() ([]byte, []int)
Deprecated: Use PocScanParam.ProtoReflect.Descriptor instead.
func (*PocScanParam) GetPocId ¶
func (x *PocScanParam) GetPocId() string
func (*PocScanParam) GetTarget ¶
func (x *PocScanParam) GetTarget() string
func (*PocScanParam) ProtoMessage ¶
func (*PocScanParam) ProtoMessage()
func (*PocScanParam) ProtoReflect ¶
func (x *PocScanParam) ProtoReflect() protoreflect.Message
func (*PocScanParam) Reset ¶
func (x *PocScanParam) Reset()
func (*PocScanParam) String ¶
func (x *PocScanParam) String() string
type PocScanRequest ¶
type PocScanRequest struct { RunId int64 `protobuf:"varint,1,opt,name=RunId,proto3" json:"RunId,omitempty"` // 运行Id Options *PocScanOptions `protobuf:"bytes,2,opt,name=Options,proto3" json:"Options,omitempty"` // poc运行配置 Params []*PocScanParam `protobuf:"bytes,3,rep,name=Params,proto3" json:"Params,omitempty"` //poc运行配置 // contains filtered or unexported fields }
func (*PocScanRequest) Descriptor
deprecated
func (*PocScanRequest) Descriptor() ([]byte, []int)
Deprecated: Use PocScanRequest.ProtoReflect.Descriptor instead.
func (*PocScanRequest) GetOptions ¶
func (x *PocScanRequest) GetOptions() *PocScanOptions
func (*PocScanRequest) GetParams ¶
func (x *PocScanRequest) GetParams() []*PocScanParam
func (*PocScanRequest) GetRunId ¶
func (x *PocScanRequest) GetRunId() int64
func (*PocScanRequest) ProtoMessage ¶
func (*PocScanRequest) ProtoMessage()
func (*PocScanRequest) ProtoReflect ¶
func (x *PocScanRequest) ProtoReflect() protoreflect.Message
func (*PocScanRequest) Reset ¶
func (x *PocScanRequest) Reset()
func (*PocScanRequest) String ¶
func (x *PocScanRequest) String() string
type PocScanResponse ¶
type PocScanResponse struct { PocId string `protobuf:"bytes,1,opt,name=PocId,proto3" json:"PocId,omitempty"` //PocId Target string `protobuf:"bytes,2,opt,name=Target,proto3" json:"Target,omitempty"` //运行目标 RunTime float32 `protobuf:"fixed32,3,opt,name=RunTime,proto3" json:"RunTime,omitempty"` //运行时间 Status bool `protobuf:"varint,4,opt,name=Status,proto3" json:"Status,omitempty"` //检查结果 HttpFlow []*HttpFlow `protobuf:"bytes,6,rep,name=HttpFlow,proto3" json:"HttpFlow,omitempty"` //http流 // contains filtered or unexported fields }
func (*PocScanResponse) Descriptor
deprecated
func (*PocScanResponse) Descriptor() ([]byte, []int)
Deprecated: Use PocScanResponse.ProtoReflect.Descriptor instead.
func (*PocScanResponse) GetHttpFlow ¶
func (x *PocScanResponse) GetHttpFlow() []*HttpFlow
func (*PocScanResponse) GetPocId ¶
func (x *PocScanResponse) GetPocId() string
func (*PocScanResponse) GetRunTime ¶
func (x *PocScanResponse) GetRunTime() float32
func (*PocScanResponse) GetStatus ¶
func (x *PocScanResponse) GetStatus() bool
func (*PocScanResponse) GetTarget ¶
func (x *PocScanResponse) GetTarget() string
func (*PocScanResponse) ProtoMessage ¶
func (*PocScanResponse) ProtoMessage()
func (*PocScanResponse) ProtoReflect ¶
func (x *PocScanResponse) ProtoReflect() protoreflect.Message
func (*PocScanResponse) Reset ¶
func (x *PocScanResponse) Reset()
func (*PocScanResponse) String ¶
func (x *PocScanResponse) String() string
type PortScanOptions ¶
type PortScanOptions struct { Thread int64 `protobuf:"varint,1,opt,name=Thread,proto3" json:"Thread,omitempty"` Timeout int64 `protobuf:"varint,2,opt,name=Timeout,proto3" json:"Timeout,omitempty"` Proxy []string `protobuf:"bytes,3,rep,name=Proxy,proto3" json:"Proxy,omitempty"` FingerCheck bool `protobuf:"varint,4,opt,name=FingerCheck,proto3" json:"FingerCheck,omitempty"` // contains filtered or unexported fields }
func (*PortScanOptions) Descriptor
deprecated
func (*PortScanOptions) Descriptor() ([]byte, []int)
Deprecated: Use PortScanOptions.ProtoReflect.Descriptor instead.
func (*PortScanOptions) GetFingerCheck ¶
func (x *PortScanOptions) GetFingerCheck() bool
func (*PortScanOptions) GetProxy ¶
func (x *PortScanOptions) GetProxy() []string
func (*PortScanOptions) GetThread ¶
func (x *PortScanOptions) GetThread() int64
func (*PortScanOptions) GetTimeout ¶
func (x *PortScanOptions) GetTimeout() int64
func (*PortScanOptions) ProtoMessage ¶
func (*PortScanOptions) ProtoMessage()
func (*PortScanOptions) ProtoReflect ¶
func (x *PortScanOptions) ProtoReflect() protoreflect.Message
func (*PortScanOptions) Reset ¶
func (x *PortScanOptions) Reset()
func (*PortScanOptions) String ¶
func (x *PortScanOptions) String() string
type PortScanParam ¶
type PortScanParam struct { Host string `protobuf:"bytes,1,opt,name=Host,proto3" json:"Host,omitempty"` Port string `protobuf:"bytes,2,opt,name=Port,proto3" json:"Port,omitempty"` // contains filtered or unexported fields }
func (*PortScanParam) Descriptor
deprecated
func (*PortScanParam) Descriptor() ([]byte, []int)
Deprecated: Use PortScanParam.ProtoReflect.Descriptor instead.
func (*PortScanParam) GetHost ¶
func (x *PortScanParam) GetHost() string
func (*PortScanParam) GetPort ¶
func (x *PortScanParam) GetPort() string
func (*PortScanParam) ProtoMessage ¶
func (*PortScanParam) ProtoMessage()
func (*PortScanParam) ProtoReflect ¶
func (x *PortScanParam) ProtoReflect() protoreflect.Message
func (*PortScanParam) Reset ¶
func (x *PortScanParam) Reset()
func (*PortScanParam) String ¶
func (x *PortScanParam) String() string
type PortScanRequest ¶
type PortScanRequest struct { RunId int64 `protobuf:"varint,1,opt,name=RunId,proto3" json:"RunId,omitempty"` Options *PortScanOptions `protobuf:"bytes,2,opt,name=Options,proto3" json:"Options,omitempty"` Params []*PortScanParam `protobuf:"bytes,3,rep,name=Params,proto3" json:"Params,omitempty"` // contains filtered or unexported fields }
func (*PortScanRequest) Descriptor
deprecated
func (*PortScanRequest) Descriptor() ([]byte, []int)
Deprecated: Use PortScanRequest.ProtoReflect.Descriptor instead.
func (*PortScanRequest) GetOptions ¶
func (x *PortScanRequest) GetOptions() *PortScanOptions
func (*PortScanRequest) GetParams ¶
func (x *PortScanRequest) GetParams() []*PortScanParam
func (*PortScanRequest) GetRunId ¶
func (x *PortScanRequest) GetRunId() int64
func (*PortScanRequest) ProtoMessage ¶
func (*PortScanRequest) ProtoMessage()
func (*PortScanRequest) ProtoReflect ¶
func (x *PortScanRequest) ProtoReflect() protoreflect.Message
func (*PortScanRequest) Reset ¶
func (x *PortScanRequest) Reset()
func (*PortScanRequest) String ¶
func (x *PortScanRequest) String() string
type PortScanResponse ¶
type PortScanResponse struct { Param *PortScanParam `protobuf:"bytes,1,opt,name=Param,proto3" json:"Param,omitempty"` Status string `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"` Finger string `protobuf:"bytes,3,opt,name=Finger,proto3" json:"Finger,omitempty"` // contains filtered or unexported fields }
func (*PortScanResponse) Descriptor
deprecated
func (*PortScanResponse) Descriptor() ([]byte, []int)
Deprecated: Use PortScanResponse.ProtoReflect.Descriptor instead.
func (*PortScanResponse) GetFinger ¶
func (x *PortScanResponse) GetFinger() string
func (*PortScanResponse) GetParam ¶
func (x *PortScanResponse) GetParam() *PortScanParam
func (*PortScanResponse) GetStatus ¶
func (x *PortScanResponse) GetStatus() string
func (*PortScanResponse) ProtoMessage ¶
func (*PortScanResponse) ProtoMessage()
func (*PortScanResponse) ProtoReflect ¶
func (x *PortScanResponse) ProtoReflect() protoreflect.Message
func (*PortScanResponse) Reset ¶
func (x *PortScanResponse) Reset()
func (*PortScanResponse) String ¶
func (x *PortScanResponse) String() string
type PortScanType ¶
type PortScanType int32
PortScanType 端口扫描类型
const ( PortScanType_Tcp_Syn PortScanType = 0 PortScanType_Tcp_Connect PortScanType = 1 )
func (PortScanType) Descriptor ¶
func (PortScanType) Descriptor() protoreflect.EnumDescriptor
func (PortScanType) Enum ¶
func (x PortScanType) Enum() *PortScanType
func (PortScanType) EnumDescriptor
deprecated
func (PortScanType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PortScanType.Descriptor instead.
func (PortScanType) Number ¶
func (x PortScanType) Number() protoreflect.EnumNumber
func (PortScanType) String ¶
func (x PortScanType) String() string
func (PortScanType) Type ¶
func (PortScanType) Type() protoreflect.EnumType
type ProxyType ¶
type ProxyType int32
func (ProxyType) Descriptor ¶
func (ProxyType) Descriptor() protoreflect.EnumDescriptor
func (ProxyType) EnumDescriptor
deprecated
func (ProxyType) Number ¶
func (x ProxyType) Number() protoreflect.EnumNumber
func (ProxyType) Type ¶
func (ProxyType) Type() protoreflect.EnumType
type Service ¶
type Service int32
const ( Service_Ftp Service = 0 Service_Mysql Service = 1 Service_Oracle Service = 2 Service_SqlServer Service = 3 Service_Redis Service = 4 Service_SSH Service = 5 Service_Pop3 Service = 6 Service_Rdp Service = 7 Service_Smb Service = 8 Service_MonGoDb Service = 9 Service_Postgres Service = 10 Service_Custom Service = 11 //指定位目录扫描 )
func (Service) Descriptor ¶
func (Service) Descriptor() protoreflect.EnumDescriptor
func (Service) EnumDescriptor
deprecated
func (Service) Number ¶
func (x Service) Number() protoreflect.EnumNumber
func (Service) Type ¶
func (Service) Type() protoreflect.EnumType
type TaskType ¶
type TaskType int32
func (TaskType) Descriptor ¶
func (TaskType) Descriptor() protoreflect.EnumDescriptor
func (TaskType) EnumDescriptor
deprecated
func (TaskType) Number ¶
func (x TaskType) Number() protoreflect.EnumNumber
func (TaskType) Type ¶
func (TaskType) Type() protoreflect.EnumType
type TaskerRequest ¶
type TaskerRequest struct { Type TaskType `protobuf:"varint,1,opt,name=Type,proto3,enum=service.TaskType" json:"Type,omitempty"` RunId int64 `protobuf:"varint,2,opt,name=RunId,proto3" json:"RunId,omitempty"` // contains filtered or unexported fields }
func (*TaskerRequest) Descriptor
deprecated
func (*TaskerRequest) Descriptor() ([]byte, []int)
Deprecated: Use TaskerRequest.ProtoReflect.Descriptor instead.
func (*TaskerRequest) GetRunId ¶
func (x *TaskerRequest) GetRunId() int64
func (*TaskerRequest) GetType ¶
func (x *TaskerRequest) GetType() TaskType
func (*TaskerRequest) ProtoMessage ¶
func (*TaskerRequest) ProtoMessage()
func (*TaskerRequest) ProtoReflect ¶
func (x *TaskerRequest) ProtoReflect() protoreflect.Message
func (*TaskerRequest) Reset ¶
func (x *TaskerRequest) Reset()
func (*TaskerRequest) String ¶
func (x *TaskerRequest) String() string
type ThirdApplication ¶
type ThirdApplication int32
const ( ThirdApplication_TYC ThirdApplication = 0 ThirdApplication_QCC ThirdApplication = 2 ThirdApplication_Google ThirdApplication = 3 ThirdApplication_Github ThirdApplication = 4 ThirdApplication_Chinaz ThirdApplication = 5 //站长之家 ThirdApplication_AiZhan ThirdApplication = 6 //爱站 )
func (ThirdApplication) Descriptor ¶
func (ThirdApplication) Descriptor() protoreflect.EnumDescriptor
func (ThirdApplication) Enum ¶
func (x ThirdApplication) Enum() *ThirdApplication
func (ThirdApplication) EnumDescriptor
deprecated
func (ThirdApplication) EnumDescriptor() ([]byte, []int)
Deprecated: Use ThirdApplication.Descriptor instead.
func (ThirdApplication) Number ¶
func (x ThirdApplication) Number() protoreflect.EnumNumber
func (ThirdApplication) String ¶
func (x ThirdApplication) String() string
func (ThirdApplication) Type ¶
func (ThirdApplication) Type() protoreflect.EnumType
type ThirdCollectionRequest ¶
type ThirdCollectionRequest struct { RunId int64 `protobuf:"varint,1,opt,name=RunId,proto3" json:"RunId,omitempty"` Options *CollectionOptions `protobuf:"bytes,2,opt,name=Options,proto3" json:"Options,omitempty"` Platform ThirdApplication `protobuf:"varint,3,opt,name=Platform,proto3,enum=service.ThirdApplication" json:"Platform,omitempty"` // 查询的字段 Fields string `protobuf:"bytes,4,opt,name=Fields,proto3" json:"Fields,omitempty"` // contains filtered or unexported fields }
func (*ThirdCollectionRequest) Descriptor
deprecated
func (*ThirdCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ThirdCollectionRequest.ProtoReflect.Descriptor instead.
func (*ThirdCollectionRequest) GetFields ¶
func (x *ThirdCollectionRequest) GetFields() string
func (*ThirdCollectionRequest) GetOptions ¶
func (x *ThirdCollectionRequest) GetOptions() *CollectionOptions
func (*ThirdCollectionRequest) GetPlatform ¶
func (x *ThirdCollectionRequest) GetPlatform() ThirdApplication
func (*ThirdCollectionRequest) GetRunId ¶
func (x *ThirdCollectionRequest) GetRunId() int64
func (*ThirdCollectionRequest) ProtoMessage ¶
func (*ThirdCollectionRequest) ProtoMessage()
func (*ThirdCollectionRequest) ProtoReflect ¶
func (x *ThirdCollectionRequest) ProtoReflect() protoreflect.Message
func (*ThirdCollectionRequest) Reset ¶
func (x *ThirdCollectionRequest) Reset()
func (*ThirdCollectionRequest) String ¶
func (x *ThirdCollectionRequest) String() string
type UnimplementedApiCursServer ¶
type UnimplementedApiCursServer struct { }
UnimplementedApiCursServer must be embedded to have forward compatible implementations.
func (UnimplementedApiCursServer) AliveScan ¶
func (UnimplementedApiCursServer) AliveScan(*AliveScanRequest, ApiCurs_AliveScanServer) error
func (UnimplementedApiCursServer) Burp ¶
func (UnimplementedApiCursServer) Burp(*BurpRequest, ApiCurs_BurpServer) error
func (UnimplementedApiCursServer) GetAllTasks ¶
func (UnimplementedApiCursServer) GetAllTasks(context.Context, *Empty) (*CustomResponse, error)
func (UnimplementedApiCursServer) HandleTask ¶
func (UnimplementedApiCursServer) HandleTask(context.Context, *TaskerRequest) (*CustomResponse, error)
func (UnimplementedApiCursServer) HealthCheck ¶
func (UnimplementedApiCursServer) HealthCheck(context.Context, *Empty) (*CustomResponse, error)
func (UnimplementedApiCursServer) InitConfigurations ¶
func (UnimplementedApiCursServer) InitConfigurations(context.Context, *GlobalConfigurations) (*CustomResponse, error)
func (UnimplementedApiCursServer) PlatformCollection ¶
func (UnimplementedApiCursServer) PlatformCollection(*CollectionRequest, ApiCurs_PlatformCollectionServer) error
func (UnimplementedApiCursServer) PocScan ¶
func (UnimplementedApiCursServer) PocScan(*PocScanRequest, ApiCurs_PocScanServer) error
func (UnimplementedApiCursServer) PortScan ¶
func (UnimplementedApiCursServer) PortScan(*PortScanRequest, ApiCurs_PortScanServer) error
func (UnimplementedApiCursServer) ThirdApplicationCollection ¶
func (UnimplementedApiCursServer) ThirdApplicationCollection(ApiCurs_ThirdApplicationCollectionServer) error
func (UnimplementedApiCursServer) UpdateConfigurations ¶
func (UnimplementedApiCursServer) UpdateConfigurations(context.Context, *GlobalConfigurations) (*CustomResponse, error)
type UnsafeApiCursServer ¶
type UnsafeApiCursServer interface {
// contains filtered or unexported methods
}
UnsafeApiCursServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiCursServer will result in compilation errors.
type UserAuth ¶
type UserAuth struct { Uname string `protobuf:"bytes,1,opt,name=Uname,proto3" json:"Uname,omitempty"` Pass string `protobuf:"bytes,2,opt,name=Pass,proto3" json:"Pass,omitempty"` // contains filtered or unexported fields }
func (*UserAuth) Descriptor
deprecated
func (*UserAuth) ProtoMessage ¶
func (*UserAuth) ProtoMessage()
func (*UserAuth) ProtoReflect ¶
func (x *UserAuth) ProtoReflect() protoreflect.Message