Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterNucleiApiServer(s grpc.ServiceRegistrar, srv NucleiApiServer)
- type ConcurrencyConfig
- func (*ConcurrencyConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ConcurrencyConfig) GetHeadlessHostConcurrency() int32
- func (x *ConcurrencyConfig) GetHeadlessTemplateConcurrency() int32
- func (x *ConcurrencyConfig) GetHostConcurrency() int32
- func (x *ConcurrencyConfig) GetJavascriptTemplateConcurrency() int32
- func (x *ConcurrencyConfig) GetProbeConcurrency() int32
- func (x *ConcurrencyConfig) GetTemplateConcurrency() int32
- func (x *ConcurrencyConfig) GetTemplatePayloadConcurrency() int32
- func (*ConcurrencyConfig) ProtoMessage()
- func (x *ConcurrencyConfig) ProtoReflect() protoreflect.Message
- func (x *ConcurrencyConfig) Reset()
- func (x *ConcurrencyConfig) String() string
- type Interaction
- func (*Interaction) Descriptor() ([]byte, []int)deprecated
- func (x *Interaction) GetFullId() string
- func (x *Interaction) GetProtocol() string
- func (x *Interaction) GetQtype() string
- func (x *Interaction) GetRawRequest() []byte
- func (x *Interaction) GetRawResponse() []byte
- func (x *Interaction) GetRemoteAddress() string
- func (x *Interaction) GetSmtpFrom() string
- func (x *Interaction) GetTimestamp() string
- func (x *Interaction) GetUniqueId() string
- func (*Interaction) ProtoMessage()
- func (x *Interaction) ProtoReflect() protoreflect.Message
- func (x *Interaction) Reset()
- func (x *Interaction) String() string
- type NetworkConfig
- func (*NetworkConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkConfig) GetDisableMaxHostErr() bool
- func (x *NetworkConfig) GetMaxHostError() int32
- func (x *NetworkConfig) GetRetries() int32
- func (x *NetworkConfig) GetTimeout() int32
- func (*NetworkConfig) ProtoMessage()
- func (x *NetworkConfig) ProtoReflect() protoreflect.Message
- func (x *NetworkConfig) Reset()
- func (x *NetworkConfig) String() string
- type NucleiApiClient
- type NucleiApiServer
- type NucleiApi_ScanClient
- type NucleiApi_ScanServer
- type RateLimitConfig
- func (*RateLimitConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RateLimitConfig) GetDurationMs() int64
- func (x *RateLimitConfig) GetMaxTokens() int32
- func (*RateLimitConfig) ProtoMessage()
- func (x *RateLimitConfig) ProtoReflect() protoreflect.Message
- func (x *RateLimitConfig) Reset()
- func (x *RateLimitConfig) String() string
- type ScanRequest
- func (*ScanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ScanRequest) GetAuthors() []string
- func (x *ScanRequest) GetAutomaticScan() bool
- func (x *ScanRequest) GetCustomHeaders() []string
- func (x *ScanRequest) GetExcludeIds() []string
- func (x *ScanRequest) GetExcludeMatchers() []string
- func (x *ScanRequest) GetExcludeProtocols() []string
- func (x *ScanRequest) GetExcludeSeverities() []string
- func (x *ScanRequest) GetExcludeTags() []string
- func (x *ScanRequest) GetExcludedTemplates() []string
- func (x *ScanRequest) GetHeadless() bool
- func (x *ScanRequest) GetIncludeIds() []string
- func (x *ScanRequest) GetIncludeTags() []string
- func (x *ScanRequest) GetIncludeTemplates() []string
- func (x *ScanRequest) GetNewTemplates() bool
- func (x *ScanRequest) GetProtocols() []string
- func (x *ScanRequest) GetRateLimit() *RateLimitConfig
- func (x *ScanRequest) GetScanConcurrencyConfig() *ConcurrencyConfig
- func (x *ScanRequest) GetScanNetworkConfig() *NetworkConfig
- func (x *ScanRequest) GetScanStrategy() string
- func (x *ScanRequest) GetSeverity() string
- func (x *ScanRequest) GetTags() []string
- func (x *ScanRequest) GetTargets() []string
- func (x *ScanRequest) GetTemplateIds() []string
- func (x *ScanRequest) GetTemplateUrls() []string
- func (x *ScanRequest) GetTemplates() []string
- func (x *ScanRequest) GetWorkflowUrls() []string
- func (x *ScanRequest) GetWorkflows() []string
- func (*ScanRequest) ProtoMessage()
- func (x *ScanRequest) ProtoReflect() protoreflect.Message
- func (x *ScanRequest) Reset()
- func (x *ScanRequest) String() string
- type ScanResponse
- type ScanResult
- func (*ScanResult) Descriptor() ([]byte, []int)deprecated
- func (x *ScanResult) GetCurlCommand() string
- func (x *ScanResult) GetExtractedResults() []string
- func (x *ScanResult) GetExtractorName() string
- func (x *ScanResult) GetHost() string
- func (x *ScanResult) GetInfo() *ScanResultInfo
- func (x *ScanResult) GetInteraction() *Interaction
- func (x *ScanResult) GetIp() string
- func (x *ScanResult) GetMatched() string
- func (x *ScanResult) GetMatcherName() string
- func (x *ScanResult) GetMatcherStatus() bool
- func (x *ScanResult) GetPath() string
- func (x *ScanResult) GetPort() string
- func (x *ScanResult) GetRequest() []byte
- func (x *ScanResult) GetResponse() []byte
- func (x *ScanResult) GetScheme() string
- func (x *ScanResult) GetTemplate() string
- func (x *ScanResult) GetTemplateId() string
- func (x *ScanResult) GetTemplatePath() string
- func (x *ScanResult) GetTimestamp() string
- func (x *ScanResult) GetType() string
- func (x *ScanResult) GetUrl() string
- func (*ScanResult) ProtoMessage()
- func (x *ScanResult) ProtoReflect() protoreflect.Message
- func (x *ScanResult) Reset()
- func (x *ScanResult) String() string
- type ScanResultClassification
- func (*ScanResultClassification) Descriptor() ([]byte, []int)deprecated
- func (x *ScanResultClassification) GetCpe() string
- func (x *ScanResultClassification) GetCves() []string
- func (x *ScanResultClassification) GetCvssScore() float64
- func (x *ScanResultClassification) GetCvssVector() string
- func (x *ScanResultClassification) GetCwes() []string
- func (*ScanResultClassification) ProtoMessage()
- func (x *ScanResultClassification) ProtoReflect() protoreflect.Message
- func (x *ScanResultClassification) Reset()
- func (x *ScanResultClassification) String() string
- type ScanResultInfo
- func (*ScanResultInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ScanResultInfo) GetClassification() *ScanResultClassification
- func (x *ScanResultInfo) GetDescription() string
- func (x *ScanResultInfo) GetName() string
- func (x *ScanResultInfo) GetReferences() []string
- func (x *ScanResultInfo) GetRemediation() string
- func (x *ScanResultInfo) GetSeverity() string
- func (x *ScanResultInfo) GetTags() []string
- func (*ScanResultInfo) ProtoMessage()
- func (x *ScanResultInfo) ProtoReflect() protoreflect.Message
- func (x *ScanResultInfo) Reset()
- func (x *ScanResultInfo) String() string
- type UnimplementedNucleiApiServer
- type UnsafeNucleiApiServer
Constants ¶
const (
NucleiApi_Scan_FullMethodName = "/service.NucleiApi/Scan"
)
Variables ¶
var File_pkg_service_service_proto protoreflect.FileDescriptor
var NucleiApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "service.NucleiApi", HandlerType: (*NucleiApiServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "Scan", Handler: _NucleiApi_Scan_Handler, ServerStreams: true, }, }, Metadata: "pkg/service/service.proto", }
NucleiApi_ServiceDesc is the grpc.ServiceDesc for NucleiApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNucleiApiServer ¶
func RegisterNucleiApiServer(s grpc.ServiceRegistrar, srv NucleiApiServer)
Types ¶
type ConcurrencyConfig ¶
type ConcurrencyConfig struct { TemplateConcurrency int32 `protobuf:"varint,1,opt,name=template_concurrency,json=templateConcurrency,proto3" json:"template_concurrency,omitempty"` HostConcurrency int32 `protobuf:"varint,2,opt,name=host_concurrency,json=hostConcurrency,proto3" json:"host_concurrency,omitempty"` HeadlessHostConcurrency int32 `` /* 133-byte string literal not displayed */ HeadlessTemplateConcurrency int32 `` /* 145-byte string literal not displayed */ JavascriptTemplateConcurrency int32 `` /* 151-byte string literal not displayed */ TemplatePayloadConcurrency int32 `` /* 142-byte string literal not displayed */ ProbeConcurrency int32 `protobuf:"varint,7,opt,name=probe_concurrency,json=probeConcurrency,proto3" json:"probe_concurrency,omitempty"` // contains filtered or unexported fields }
func (*ConcurrencyConfig) Descriptor
deprecated
func (*ConcurrencyConfig) Descriptor() ([]byte, []int)
Deprecated: Use ConcurrencyConfig.ProtoReflect.Descriptor instead.
func (*ConcurrencyConfig) GetHeadlessHostConcurrency ¶
func (x *ConcurrencyConfig) GetHeadlessHostConcurrency() int32
func (*ConcurrencyConfig) GetHeadlessTemplateConcurrency ¶
func (x *ConcurrencyConfig) GetHeadlessTemplateConcurrency() int32
func (*ConcurrencyConfig) GetHostConcurrency ¶
func (x *ConcurrencyConfig) GetHostConcurrency() int32
func (*ConcurrencyConfig) GetJavascriptTemplateConcurrency ¶
func (x *ConcurrencyConfig) GetJavascriptTemplateConcurrency() int32
func (*ConcurrencyConfig) GetProbeConcurrency ¶
func (x *ConcurrencyConfig) GetProbeConcurrency() int32
func (*ConcurrencyConfig) GetTemplateConcurrency ¶
func (x *ConcurrencyConfig) GetTemplateConcurrency() int32
func (*ConcurrencyConfig) GetTemplatePayloadConcurrency ¶
func (x *ConcurrencyConfig) GetTemplatePayloadConcurrency() int32
func (*ConcurrencyConfig) ProtoMessage ¶
func (*ConcurrencyConfig) ProtoMessage()
func (*ConcurrencyConfig) ProtoReflect ¶
func (x *ConcurrencyConfig) ProtoReflect() protoreflect.Message
func (*ConcurrencyConfig) Reset ¶
func (x *ConcurrencyConfig) Reset()
func (*ConcurrencyConfig) String ¶
func (x *ConcurrencyConfig) String() string
type Interaction ¶
type Interaction struct { Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` UniqueId string `protobuf:"bytes,2,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"` FullId string `protobuf:"bytes,3,opt,name=full_id,json=fullId,proto3" json:"full_id,omitempty"` Qtype string `protobuf:"bytes,4,opt,name=qtype,proto3" json:"qtype,omitempty"` RawRequest []byte `protobuf:"bytes,5,opt,name=raw_request,json=rawRequest,proto3" json:"raw_request,omitempty"` RawResponse []byte `protobuf:"bytes,6,opt,name=raw_response,json=rawResponse,proto3" json:"raw_response,omitempty"` SmtpFrom string `protobuf:"bytes,7,opt,name=smtp_from,json=smtpFrom,proto3" json:"smtp_from,omitempty"` RemoteAddress string `protobuf:"bytes,8,opt,name=remote_address,json=remoteAddress,proto3" json:"remote_address,omitempty"` Timestamp string `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*Interaction) Descriptor
deprecated
func (*Interaction) Descriptor() ([]byte, []int)
Deprecated: Use Interaction.ProtoReflect.Descriptor instead.
func (*Interaction) GetFullId ¶
func (x *Interaction) GetFullId() string
func (*Interaction) GetProtocol ¶
func (x *Interaction) GetProtocol() string
func (*Interaction) GetQtype ¶
func (x *Interaction) GetQtype() string
func (*Interaction) GetRawRequest ¶
func (x *Interaction) GetRawRequest() []byte
func (*Interaction) GetRawResponse ¶
func (x *Interaction) GetRawResponse() []byte
func (*Interaction) GetRemoteAddress ¶
func (x *Interaction) GetRemoteAddress() string
func (*Interaction) GetSmtpFrom ¶
func (x *Interaction) GetSmtpFrom() string
func (*Interaction) GetTimestamp ¶
func (x *Interaction) GetTimestamp() string
func (*Interaction) GetUniqueId ¶
func (x *Interaction) GetUniqueId() string
func (*Interaction) ProtoMessage ¶
func (*Interaction) ProtoMessage()
func (*Interaction) ProtoReflect ¶
func (x *Interaction) ProtoReflect() protoreflect.Message
func (*Interaction) Reset ¶
func (x *Interaction) Reset()
func (*Interaction) String ¶
func (x *Interaction) String() string
type NetworkConfig ¶
type NetworkConfig struct { MaxHostError int32 `protobuf:"varint,1,opt,name=max_host_error,json=maxHostError,proto3" json:"max_host_error,omitempty"` Retries int32 `protobuf:"varint,2,opt,name=retries,proto3" json:"retries,omitempty"` Timeout int32 `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"` DisableMaxHostErr bool `protobuf:"varint,4,opt,name=disable_max_host_err,json=disableMaxHostErr,proto3" json:"disable_max_host_err,omitempty"` // contains filtered or unexported fields }
func (*NetworkConfig) Descriptor
deprecated
func (*NetworkConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.
func (*NetworkConfig) GetDisableMaxHostErr ¶
func (x *NetworkConfig) GetDisableMaxHostErr() bool
func (*NetworkConfig) GetMaxHostError ¶
func (x *NetworkConfig) GetMaxHostError() int32
func (*NetworkConfig) GetRetries ¶
func (x *NetworkConfig) GetRetries() int32
func (*NetworkConfig) GetTimeout ¶
func (x *NetworkConfig) GetTimeout() int32
func (*NetworkConfig) ProtoMessage ¶
func (*NetworkConfig) ProtoMessage()
func (*NetworkConfig) ProtoReflect ¶
func (x *NetworkConfig) ProtoReflect() protoreflect.Message
func (*NetworkConfig) Reset ¶
func (x *NetworkConfig) Reset()
func (*NetworkConfig) String ¶
func (x *NetworkConfig) String() string
type NucleiApiClient ¶
type NucleiApiClient interface {
Scan(ctx context.Context, in *ScanRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ScanResult], error)
}
NucleiApiClient is the client API for NucleiApi 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 NewNucleiApiClient ¶
func NewNucleiApiClient(cc grpc.ClientConnInterface) NucleiApiClient
type NucleiApiServer ¶
type NucleiApiServer interface { Scan(*ScanRequest, grpc.ServerStreamingServer[ScanResult]) error // contains filtered or unexported methods }
NucleiApiServer is the server API for NucleiApi service. All implementations must embed UnimplementedNucleiApiServer for forward compatibility.
type NucleiApi_ScanClient ¶
type NucleiApi_ScanClient = grpc.ServerStreamingClient[ScanResult]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type NucleiApi_ScanServer ¶
type NucleiApi_ScanServer = grpc.ServerStreamingServer[ScanResult]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type RateLimitConfig ¶
type RateLimitConfig struct { MaxTokens int32 `protobuf:"varint,1,opt,name=max_tokens,json=maxTokens,proto3" json:"max_tokens,omitempty"` DurationMs int64 `protobuf:"varint,2,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"` // contains filtered or unexported fields }
func (*RateLimitConfig) Descriptor
deprecated
func (*RateLimitConfig) Descriptor() ([]byte, []int)
Deprecated: Use RateLimitConfig.ProtoReflect.Descriptor instead.
func (*RateLimitConfig) GetDurationMs ¶
func (x *RateLimitConfig) GetDurationMs() int64
func (*RateLimitConfig) GetMaxTokens ¶
func (x *RateLimitConfig) GetMaxTokens() int32
func (*RateLimitConfig) ProtoMessage ¶
func (*RateLimitConfig) ProtoMessage()
func (*RateLimitConfig) ProtoReflect ¶
func (x *RateLimitConfig) ProtoReflect() protoreflect.Message
func (*RateLimitConfig) Reset ¶
func (x *RateLimitConfig) Reset()
func (*RateLimitConfig) String ¶
func (x *RateLimitConfig) String() string
type ScanRequest ¶
type ScanRequest struct { Targets []string `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"` AutomaticScan bool `protobuf:"varint,2,opt,name=automatic_scan,json=automaticScan,proto3" json:"automatic_scan,omitempty"` Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` ExcludeTags []string `protobuf:"bytes,4,rep,name=exclude_tags,json=excludeTags,proto3" json:"exclude_tags,omitempty"` Workflows []string `protobuf:"bytes,5,rep,name=workflows,proto3" json:"workflows,omitempty"` WorkflowUrls []string `protobuf:"bytes,6,rep,name=workflow_urls,json=workflowUrls,proto3" json:"workflow_urls,omitempty"` Templates []string `protobuf:"bytes,7,rep,name=templates,proto3" json:"templates,omitempty"` TemplateUrls []string `protobuf:"bytes,8,rep,name=template_urls,json=templateUrls,proto3" json:"template_urls,omitempty"` ExcludedTemplates []string `protobuf:"bytes,9,rep,name=excluded_templates,json=excludedTemplates,proto3" json:"excluded_templates,omitempty"` ExcludeMatchers []string `protobuf:"bytes,10,rep,name=exclude_matchers,json=excludeMatchers,proto3" json:"exclude_matchers,omitempty"` CustomHeaders []string `protobuf:"bytes,11,rep,name=custom_headers,json=customHeaders,proto3" json:"custom_headers,omitempty"` Severity string `protobuf:"bytes,12,opt,name=severity,proto3" json:"severity,omitempty"` ExcludeSeverities []string `protobuf:"bytes,13,rep,name=exclude_severities,json=excludeSeverities,proto3" json:"exclude_severities,omitempty"` Authors []string `protobuf:"bytes,14,rep,name=authors,proto3" json:"authors,omitempty"` Protocols []string `protobuf:"bytes,15,rep,name=protocols,proto3" json:"protocols,omitempty"` ExcludeProtocols []string `protobuf:"bytes,16,rep,name=exclude_protocols,json=excludeProtocols,proto3" json:"exclude_protocols,omitempty"` IncludeTags []string `protobuf:"bytes,17,rep,name=include_tags,json=includeTags,proto3" json:"include_tags,omitempty"` IncludeTemplates []string `protobuf:"bytes,18,rep,name=include_templates,json=includeTemplates,proto3" json:"include_templates,omitempty"` IncludeIds []string `protobuf:"bytes,19,rep,name=include_ids,json=includeIds,proto3" json:"include_ids,omitempty"` ExcludeIds []string `protobuf:"bytes,20,rep,name=exclude_ids,json=excludeIds,proto3" json:"exclude_ids,omitempty"` Headless bool `protobuf:"varint,21,opt,name=headless,proto3" json:"headless,omitempty"` NewTemplates bool `protobuf:"varint,22,opt,name=new_templates,json=newTemplates,proto3" json:"new_templates,omitempty"` TemplateIds []string `protobuf:"bytes,23,rep,name=template_ids,json=templateIds,proto3" json:"template_ids,omitempty"` ScanStrategy string `protobuf:"bytes,24,opt,name=scan_strategy,json=scanStrategy,proto3" json:"scan_strategy,omitempty"` ScanConcurrencyConfig *ConcurrencyConfig `` /* 127-byte string literal not displayed */ ScanNetworkConfig *NetworkConfig `protobuf:"bytes,26,opt,name=scan_network_config,json=scanNetworkConfig,proto3" json:"scan_network_config,omitempty"` RateLimit *RateLimitConfig `protobuf:"bytes,27,opt,name=rate_limit,json=rateLimit,proto3" json:"rate_limit,omitempty"` // contains filtered or unexported fields }
func (*ScanRequest) Descriptor
deprecated
func (*ScanRequest) Descriptor() ([]byte, []int)
Deprecated: Use ScanRequest.ProtoReflect.Descriptor instead.
func (*ScanRequest) GetAuthors ¶
func (x *ScanRequest) GetAuthors() []string
func (*ScanRequest) GetAutomaticScan ¶
func (x *ScanRequest) GetAutomaticScan() bool
func (*ScanRequest) GetCustomHeaders ¶
func (x *ScanRequest) GetCustomHeaders() []string
func (*ScanRequest) GetExcludeIds ¶
func (x *ScanRequest) GetExcludeIds() []string
func (*ScanRequest) GetExcludeMatchers ¶
func (x *ScanRequest) GetExcludeMatchers() []string
func (*ScanRequest) GetExcludeProtocols ¶
func (x *ScanRequest) GetExcludeProtocols() []string
func (*ScanRequest) GetExcludeSeverities ¶
func (x *ScanRequest) GetExcludeSeverities() []string
func (*ScanRequest) GetExcludeTags ¶
func (x *ScanRequest) GetExcludeTags() []string
func (*ScanRequest) GetExcludedTemplates ¶
func (x *ScanRequest) GetExcludedTemplates() []string
func (*ScanRequest) GetHeadless ¶
func (x *ScanRequest) GetHeadless() bool
func (*ScanRequest) GetIncludeIds ¶
func (x *ScanRequest) GetIncludeIds() []string
func (*ScanRequest) GetIncludeTags ¶
func (x *ScanRequest) GetIncludeTags() []string
func (*ScanRequest) GetIncludeTemplates ¶
func (x *ScanRequest) GetIncludeTemplates() []string
func (*ScanRequest) GetNewTemplates ¶
func (x *ScanRequest) GetNewTemplates() bool
func (*ScanRequest) GetProtocols ¶
func (x *ScanRequest) GetProtocols() []string
func (*ScanRequest) GetRateLimit ¶
func (x *ScanRequest) GetRateLimit() *RateLimitConfig
func (*ScanRequest) GetScanConcurrencyConfig ¶
func (x *ScanRequest) GetScanConcurrencyConfig() *ConcurrencyConfig
func (*ScanRequest) GetScanNetworkConfig ¶
func (x *ScanRequest) GetScanNetworkConfig() *NetworkConfig
func (*ScanRequest) GetScanStrategy ¶
func (x *ScanRequest) GetScanStrategy() string
func (*ScanRequest) GetSeverity ¶
func (x *ScanRequest) GetSeverity() string
func (*ScanRequest) GetTags ¶
func (x *ScanRequest) GetTags() []string
func (*ScanRequest) GetTargets ¶
func (x *ScanRequest) GetTargets() []string
func (*ScanRequest) GetTemplateIds ¶
func (x *ScanRequest) GetTemplateIds() []string
func (*ScanRequest) GetTemplateUrls ¶
func (x *ScanRequest) GetTemplateUrls() []string
func (*ScanRequest) GetTemplates ¶
func (x *ScanRequest) GetTemplates() []string
func (*ScanRequest) GetWorkflowUrls ¶
func (x *ScanRequest) GetWorkflowUrls() []string
func (*ScanRequest) GetWorkflows ¶
func (x *ScanRequest) GetWorkflows() []string
func (*ScanRequest) ProtoMessage ¶
func (*ScanRequest) ProtoMessage()
func (*ScanRequest) ProtoReflect ¶
func (x *ScanRequest) ProtoReflect() protoreflect.Message
func (*ScanRequest) Reset ¶
func (x *ScanRequest) Reset()
func (*ScanRequest) String ¶
func (x *ScanRequest) String() string
type ScanResponse ¶
type ScanResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ScanResponse) Descriptor
deprecated
func (*ScanResponse) Descriptor() ([]byte, []int)
Deprecated: Use ScanResponse.ProtoReflect.Descriptor instead.
func (*ScanResponse) GetId ¶
func (x *ScanResponse) GetId() string
func (*ScanResponse) ProtoMessage ¶
func (*ScanResponse) ProtoMessage()
func (*ScanResponse) ProtoReflect ¶
func (x *ScanResponse) ProtoReflect() protoreflect.Message
func (*ScanResponse) Reset ¶
func (x *ScanResponse) Reset()
func (*ScanResponse) String ¶
func (x *ScanResponse) String() string
type ScanResult ¶
type ScanResult struct { TemplateId string `protobuf:"bytes,1,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` Info *ScanResultInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` MatcherName string `protobuf:"bytes,4,opt,name=matcher_name,json=matcherName,proto3" json:"matcher_name,omitempty"` ExtractorName string `protobuf:"bytes,5,opt,name=extractor_name,json=extractorName,proto3" json:"extractor_name,omitempty"` Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` Host string `protobuf:"bytes,7,opt,name=host,proto3" json:"host,omitempty"` Path string `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"` Matched string `protobuf:"bytes,9,opt,name=matched,proto3" json:"matched,omitempty"` ExtractedResults []string `protobuf:"bytes,10,rep,name=extracted_results,json=extractedResults,proto3" json:"extracted_results,omitempty"` Request []byte `protobuf:"bytes,11,opt,name=request,proto3" json:"request,omitempty"` Response []byte `protobuf:"bytes,12,opt,name=response,proto3" json:"response,omitempty"` Ip string `protobuf:"bytes,13,opt,name=ip,proto3" json:"ip,omitempty"` Timestamp string `protobuf:"bytes,14,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Interaction *Interaction `protobuf:"bytes,15,opt,name=interaction,proto3" json:"interaction,omitempty"` CurlCommand string `protobuf:"bytes,16,opt,name=curl_command,json=curlCommand,proto3" json:"curl_command,omitempty"` MatcherStatus bool `protobuf:"varint,17,opt,name=matcher_status,json=matcherStatus,proto3" json:"matcher_status,omitempty"` // added new fields Url string `protobuf:"bytes,18,opt,name=url,proto3" json:"url,omitempty"` Scheme string `protobuf:"bytes,19,opt,name=scheme,proto3" json:"scheme,omitempty"` Port string `protobuf:"bytes,20,opt,name=port,proto3" json:"port,omitempty"` TemplatePath string `protobuf:"bytes,21,opt,name=template_path,json=templatePath,proto3" json:"template_path,omitempty"` // contains filtered or unexported fields }
func (*ScanResult) Descriptor
deprecated
func (*ScanResult) Descriptor() ([]byte, []int)
Deprecated: Use ScanResult.ProtoReflect.Descriptor instead.
func (*ScanResult) GetCurlCommand ¶
func (x *ScanResult) GetCurlCommand() string
func (*ScanResult) GetExtractedResults ¶
func (x *ScanResult) GetExtractedResults() []string
func (*ScanResult) GetExtractorName ¶
func (x *ScanResult) GetExtractorName() string
func (*ScanResult) GetHost ¶
func (x *ScanResult) GetHost() string
func (*ScanResult) GetInfo ¶
func (x *ScanResult) GetInfo() *ScanResultInfo
func (*ScanResult) GetInteraction ¶
func (x *ScanResult) GetInteraction() *Interaction
func (*ScanResult) GetIp ¶
func (x *ScanResult) GetIp() string
func (*ScanResult) GetMatched ¶
func (x *ScanResult) GetMatched() string
func (*ScanResult) GetMatcherName ¶
func (x *ScanResult) GetMatcherName() string
func (*ScanResult) GetMatcherStatus ¶
func (x *ScanResult) GetMatcherStatus() bool
func (*ScanResult) GetPath ¶
func (x *ScanResult) GetPath() string
func (*ScanResult) GetPort ¶
func (x *ScanResult) GetPort() string
func (*ScanResult) GetRequest ¶
func (x *ScanResult) GetRequest() []byte
func (*ScanResult) GetResponse ¶
func (x *ScanResult) GetResponse() []byte
func (*ScanResult) GetScheme ¶
func (x *ScanResult) GetScheme() string
func (*ScanResult) GetTemplate ¶
func (x *ScanResult) GetTemplate() string
func (*ScanResult) GetTemplateId ¶
func (x *ScanResult) GetTemplateId() string
func (*ScanResult) GetTemplatePath ¶
func (x *ScanResult) GetTemplatePath() string
func (*ScanResult) GetTimestamp ¶
func (x *ScanResult) GetTimestamp() string
func (*ScanResult) GetType ¶
func (x *ScanResult) GetType() string
func (*ScanResult) GetUrl ¶
func (x *ScanResult) GetUrl() string
func (*ScanResult) ProtoMessage ¶
func (*ScanResult) ProtoMessage()
func (*ScanResult) ProtoReflect ¶
func (x *ScanResult) ProtoReflect() protoreflect.Message
func (*ScanResult) Reset ¶
func (x *ScanResult) Reset()
func (*ScanResult) String ¶
func (x *ScanResult) String() string
type ScanResultClassification ¶
type ScanResultClassification struct { Cves []string `protobuf:"bytes,1,rep,name=cves,proto3" json:"cves,omitempty"` Cwes []string `protobuf:"bytes,2,rep,name=cwes,proto3" json:"cwes,omitempty"` Cpe string `protobuf:"bytes,3,opt,name=cpe,proto3" json:"cpe,omitempty"` CvssVector string `protobuf:"bytes,4,opt,name=cvss_vector,json=cvssVector,proto3" json:"cvss_vector,omitempty"` CvssScore float64 `protobuf:"fixed64,5,opt,name=cvss_score,json=cvssScore,proto3" json:"cvss_score,omitempty"` // contains filtered or unexported fields }
func (*ScanResultClassification) Descriptor
deprecated
func (*ScanResultClassification) Descriptor() ([]byte, []int)
Deprecated: Use ScanResultClassification.ProtoReflect.Descriptor instead.
func (*ScanResultClassification) GetCpe ¶
func (x *ScanResultClassification) GetCpe() string
func (*ScanResultClassification) GetCves ¶
func (x *ScanResultClassification) GetCves() []string
func (*ScanResultClassification) GetCvssScore ¶
func (x *ScanResultClassification) GetCvssScore() float64
func (*ScanResultClassification) GetCvssVector ¶
func (x *ScanResultClassification) GetCvssVector() string
func (*ScanResultClassification) GetCwes ¶
func (x *ScanResultClassification) GetCwes() []string
func (*ScanResultClassification) ProtoMessage ¶
func (*ScanResultClassification) ProtoMessage()
func (*ScanResultClassification) ProtoReflect ¶
func (x *ScanResultClassification) ProtoReflect() protoreflect.Message
func (*ScanResultClassification) Reset ¶
func (x *ScanResultClassification) Reset()
func (*ScanResultClassification) String ¶
func (x *ScanResultClassification) String() string
type ScanResultInfo ¶
type ScanResultInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Severity string `protobuf:"bytes,3,opt,name=severity,proto3" json:"severity,omitempty"` Remediation string `protobuf:"bytes,4,opt,name=remediation,proto3" json:"remediation,omitempty"` Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` References []string `protobuf:"bytes,6,rep,name=references,proto3" json:"references,omitempty"` Classification *ScanResultClassification `protobuf:"bytes,7,opt,name=classification,proto3" json:"classification,omitempty"` // metadata // contains filtered or unexported fields }
https://github.com/projectdiscovery/nuclei/blob/main/v2/pkg/model/model.go#L9
func (*ScanResultInfo) Descriptor
deprecated
func (*ScanResultInfo) Descriptor() ([]byte, []int)
Deprecated: Use ScanResultInfo.ProtoReflect.Descriptor instead.
func (*ScanResultInfo) GetClassification ¶
func (x *ScanResultInfo) GetClassification() *ScanResultClassification
func (*ScanResultInfo) GetDescription ¶
func (x *ScanResultInfo) GetDescription() string
func (*ScanResultInfo) GetName ¶
func (x *ScanResultInfo) GetName() string
func (*ScanResultInfo) GetReferences ¶
func (x *ScanResultInfo) GetReferences() []string
func (*ScanResultInfo) GetRemediation ¶
func (x *ScanResultInfo) GetRemediation() string
func (*ScanResultInfo) GetSeverity ¶
func (x *ScanResultInfo) GetSeverity() string
func (*ScanResultInfo) GetTags ¶
func (x *ScanResultInfo) GetTags() []string
func (*ScanResultInfo) ProtoMessage ¶
func (*ScanResultInfo) ProtoMessage()
func (*ScanResultInfo) ProtoReflect ¶
func (x *ScanResultInfo) ProtoReflect() protoreflect.Message
func (*ScanResultInfo) Reset ¶
func (x *ScanResultInfo) Reset()
func (*ScanResultInfo) String ¶
func (x *ScanResultInfo) String() string
type UnimplementedNucleiApiServer ¶
type UnimplementedNucleiApiServer struct{}
UnimplementedNucleiApiServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedNucleiApiServer) Scan ¶
func (UnimplementedNucleiApiServer) Scan(*ScanRequest, grpc.ServerStreamingServer[ScanResult]) error
type UnsafeNucleiApiServer ¶
type UnsafeNucleiApiServer interface {
// contains filtered or unexported methods
}
UnsafeNucleiApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NucleiApiServer will result in compilation errors.