Skip to content

When calling FOFA API, the set field name is wrong  #177

@TEag1e

Description

@TEag1e

https://github.com/projectdiscovery/uncover/blob/main/uncover/agent/fofa/fofa.go#L17

I guess you are planning to use domain field to represent the result domain name information, but in FOFA domain field represents the primary domain name of the target.

Example, when the result is: api.baidu.com, then domain value of the field is baidu.com. If a user wants to query all Baidu domain names in FOFA, your way of writing will only return one record baidu.com.

图片

图片

You should use the host field in the FOFA API to represent domain information.

Metadata

Metadata

Assignees

Labels

Status: CompletedNothing further to be done with this issue. Awaiting to be closed.Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions