Documentation ¶
Overview ¶
Package fofa implements some fofa-api utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fofa ¶
Fofa a fofa client can be used to make queries
func (*Fofa) QueryAsArray ¶
QueryAsArray make a fofa query and return array data as result echo 'domain="nosec.org"' | base64 - | xargs -I{} curl "https://fofa.info/api/v1/search/all?email=${FOFA_EMAIL}&key=${FOFA_KEY}&qbase64={}"
func (*Fofa) QueryAsJSON ¶
QueryAsJSON make a fofa query and return json data as result echo 'domain="nosec.org"' | base64 - | xargs -I{} curl "https://fofa.info/api/v1/search/all?email=${FOFA_EMAIL}&key=${FOFA_KEY}&qbase64={}" host title ip domain port country city
Click to show internal directories.
Click to hide internal directories.