Skip to content

Commit

Permalink
修复format时的一个严重bug, 可能导致格式化结果失败
Browse files Browse the repository at this point in the history
  • Loading branch information
M09Ic committed Sep 27, 2022
1 parent feebbbb commit 218cfc5
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions v2/pkg/result.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,26 @@ import (

type Result struct {
// baseinfo
Ip string `json:"ip"` // ip
Port string `json:"port"` // port
Protocol string `json:"protocol"` // protocol
Status string `json:"status"` // http_stat
Uri string `json:"uri,omitempty"` // uri
Os string `json:"os,omitempty"` // os
Host string `json:"host,omitempty"` // host
Ip string `json:"ip"` // ip
Port string `json:"port"` // port
Uri string `json:"uri,omitempty"` // uri
Os string `json:"os,omitempty"` // os
Host string `json:"host,omitempty"` // host

//Cert string `json:"c"`
HttpHosts []string `json:"-"`
CurrentHost string `json:"-"`
Title string `json:"title"` // title
Midware string `json:"midware"` // midware

Language string `json:"language"` // language
// language
Frameworks Frameworks `json:"frameworks,omitempty"` // framework
Vulns Vulns `json:"vulns,omitempty"`
Extracts *Extracts `json:"-"`
ExtractsStat map[string]int `json:"extracts_stat,omitempty"`
Protocol string `json:"protocol"` // protocol
Status string `json:"status"` // http_stat
Language string `json:"language"`
Title string `json:"title"` // title
Midware string `json:"midware"` // midware
//Hash string `json:"hs"`
Open bool `json:"-"`
//FrameworksMap map[string]bool `json:"-"`
Expand Down

0 comments on commit 218cfc5

Please sign in to comment.