Skip to content

Commit

Permalink
[*]优化fofa字段,现在终于能够显示标题了
Browse files Browse the repository at this point in the history
  • Loading branch information
lcvvvv committed May 9, 2022
1 parent b343c1e commit 4861ffb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/fofa/fofa.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func displayResponse(results []fofa.Result) {
m := row.Map()
m["Header"] = ""
m["Cert"] = ""
m["Title"] = ""
m["Title"] = row.Title
m["Host"] = ""
m["As_organization"] = ""
m["Ip"] = ""
Expand Down
6 changes: 3 additions & 3 deletions lib/fofa/fofa.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ func New(email, key string) *Fofa {
loginPath: "/api/v1/info/my",
fieldList: []string{
"host",
//"title",
//"banner",
//"header",
"title",
"banner",
"header",
"ip", "domain", "port", "country", "province",
"city", "country_name",
"server",
Expand Down

0 comments on commit 4861ffb

Please sign in to comment.