mirror of https://github.com/daffainfo/nuclei.git
misc
parent
ca85186d9a
commit
e07123e6ca
|
@ -75,6 +75,10 @@ func getCVEData(client *nvd.Client, filePath, data string) {
|
|||
}
|
||||
severityValue := severityMatches[0][1]
|
||||
|
||||
// Skip if there's classification data already
|
||||
if strings.Contains(data, "classification:") {
|
||||
return
|
||||
}
|
||||
cveItem, err := client.FetchCVE(cveName)
|
||||
if err != nil {
|
||||
log.Printf("Could not fetch cve %s: %s\n", cveName, err)
|
||||
|
|
Loading…
Reference in New Issue