Skip to content

Commit

Permalink
update default fofa server
Browse files Browse the repository at this point in the history
  • Loading branch information
TardC committed Jun 7, 2022
1 parent d84ae3b commit a278739
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/fofadump/fofadump.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ func main() {
cfg := fofadump.NewFofaConfig()
flag.StringVar(&cfg.Email, "email", "", "Email of fofa account")
flag.StringVar(&cfg.Key, "key", "", "Key of fofa account")
flag.StringVar(&cfg.FofaServer, "fofa-url", "https://fofa.info", "URL of fofa server")

var size int
flag.IntVar(&size, "size", 100, "The number size to query")
Expand All @@ -21,7 +22,7 @@ func main() {
var fofaQuery string
flag.StringVar(&fofaQuery, "q", "", "Fofa query rule")
var fields string
flag.StringVar(&fields, "fields", "host,ip,port", "Fields to query")
flag.StringVar(&fields, "fields", "git st", "Fields to query")
var full bool
flag.BoolVar(&full, "full", false, "Whether to search all data")

Expand Down

0 comments on commit a278739

Please sign in to comment.