Documentation
¶
Index ¶
- Constants
- Variables
- func AuthWithPDCP()
- func GetUpdateCallback() func()
- func Run(options Options)
- type CVEBulkData
- type CVEData
- type CVEIdList
- type CustomTime
- type Cvss2
- type Cvss30
- type Cvss31
- type CvssMetrics
- type ErrorMessage
- type KevObject
- type NucleiTemplates
- type OSS
- type Options
- type OutputCpe
- type OutputShodanData
Constants ¶
View Source
const Version = `v0.0.1`
Version is the current version
Variables ¶
View Source
var (
DEFAULT_FEILD_CHAR_LIMIT = 20
)
View Source
var UNAUTHORIZEDERR = errorutil.New(`unexpected status code: 401 (get your free api key from https://cloud.projectdiscovery.io)`)
Functions ¶
func GetUpdateCallback ¶
func GetUpdateCallback() func()
GetUpdateCallback returns a callback function that updates proxify
Types ¶
type CVEBulkData ¶
type CVEData ¶
type CVEData struct {
CveID string `json:"cve_id,omitempty"`
CveDescription string `json:"cve_description,omitempty"`
Severity string `json:"severity,omitempty"`
CvssScore float64 `json:"cvss_score,omitempty"`
CvssMetrics *CvssMetrics `json:"cvss_metrics,omitempty"`
Weaknesses []struct {
CWEID string `json:"cwe_id"`
CWEName string `json:"cwe_name,omitempty"`
} `json:"weaknesses,omitempty"`
Epss struct {
Score float64 `json:"epss_score"`
Percentile float64 `json:"epss_percentile"`
} `json:"epss,omitempty"`
Cpe *OutputCpe `json:"cpe,omitempty"`
Reference []string `json:"reference,omitempty"`
Poc []struct {
URL string `json:"url"`
Source string `json:"source"`
AddedAt string `json:"added_at"`
} `json:"poc,omitempty"`
VendorAdvisory *string `json:"vendor_advisory,omitempty"`
Patch []string `json:"patch_url,omitempty"`
IsTemplate bool `json:"is_template"`
NucleiTemplates *NucleiTemplates `json:"nuclei_templates,omitempty"`
IsKev bool `json:"is_exploited"`
Kev *KevObject `json:"kev,omitempty"`
Assignee string `json:"assignee,omitempty"`
PublishedAt string `json:"published_at,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
Hackerone struct {
Rank int `json:"rank"`
Count int `json:"count"`
} `json:"hackerone,omitempty"`
AgeInDays int `json:"age_in_days,omitempty"`
VulnStatus string `json:"vuln_status,omitempty"`
IsPoc bool `json:"is_poc"`
IsRemote bool `json:"is_remote"`
IsOss bool `json:"is_oss"`
VulnerableCPE []string `json:"vulnerable_cpe,omitempty"`
Shodan *OutputShodanData `json:"shodan,omitempty"`
OSS *OSS `json:"oss,omitempty"`
}
type CustomTime ¶
func (*CustomTime) UnmarshalJSON ¶
func (ct *CustomTime) UnmarshalJSON(b []byte) error
type CvssMetrics ¶
type ErrorMessage ¶
type ErrorMessage struct {
Message string `json:"message"`
}
type NucleiTemplates ¶
type NucleiTemplates struct {
TemplateIssue string `json:"template_issue,omitempty"`
TemplateIssueType string `json:"template_issue_type,omitempty"`
TemplatePath string `json:"template_path,omitempty"`
TemplatePR string `json:"template_pr,omitempty"`
TemplateURL string `json:"template_url,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
type OSS ¶
type OSS struct {
AllLanguages map[string]int `json:"all_languages,omitempty"`
Description string `json:"description,omitempty"`
Forks int `json:"forks,omitempty"`
Language string `json:"language,omitempty"`
Stars int `json:"stars,omitempty"`
Subscribers int `json:"subscribers,omitempty"`
Topics []string `json:"topics,omitempty"`
PushedAt CustomTime `json:"pushed_at,omitempty"`
CreatedAt CustomTime `json:"created_at,omitempty"`
UpdatedAt CustomTime `json:"updated_at,omitempty"`
URL string `json:"url,omitempty"`
}
type Options ¶
type Options struct {
PdcpAuth bool
CveIds goflags.StringSlice
CweIds goflags.StringSlice
Vendor goflags.StringSlice
Product goflags.StringSlice
Eproduct goflags.StringSlice
Severity goflags.StringSlice
CvssScore goflags.StringSlice
//cvssMetrics goflags.StringSlice
EpssPercentile goflags.StringSlice
//year goflags.StringSlice
Assignees goflags.StringSlice
Reference goflags.StringSlice
//vulnType goflags.StringSlice
IncludeColumns []string
ExcludeColumns []string
TableHeaders []string
ListId bool
EpssScore string
Cpe string
VulnStatus string
Age string
Kev string
//trending bool
Hackerone string
HasNucleiTemplate string
HasPoc string
Search string
RemotlyExploitable string
EnablePageKeys bool
Json bool
Limit int
Offset int
Version bool
DisableUpdateCheck bool
Silent bool
Verbose bool
}
func ParseOptions ¶
func ParseOptions() *Options
type OutputShodanData ¶
Click to show internal directories.
Click to hide internal directories.