Skip to content

Commit

Permalink
fix: qianxi ti too many vulns
Browse files Browse the repository at this point in the history
close #51
  • Loading branch information
zema1 committed Nov 9, 2023
1 parent 1249fa6 commit b733fa2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
## v1.2.0 (2023.11.08)
## v1.2.2 (2023.11.09)

### 修复

- 修复奇安信数据源推送数据过多的问题

## v1.2.1 (2023.11.08)

### 变更

Expand Down
2 changes: 1 addition & 1 deletion grab/ti.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (t *TiCrawler) GetUpdate(ctx context.Context, _ int) ([]*VulnInfo, error) {
return nil, err
}
var results []*VulnInfo
for _, d := range append(body.Data.KeyVulnAdd, body.Data.PocExpAdd...) {
for _, d := range body.Data.KeyVulnAdd {
tags := make([]string, 0, len(d.Tag))
for _, tag := range d.Tag {
tags = append(tags, strings.TrimSpace(tag.Name))
Expand Down

0 comments on commit b733fa2

Please sign in to comment.