burpheart / koko-moni

一个基于网络空间搜索引擎的攻击面管理平台,可定时进行资产信息爬取,及时发现新增资产,本项目聚合了 Fofa、Hunter、Quake、Zoomeye 和 Threatbook 的数据源,并对获取到的数据进行去重与清洗
GNU General Public License v2.0
435 stars 20 forks source link

多个域名ip段如何编写jobs合适 #6

Open hosolom opened 1 year ago

burpheart commented 1 year ago

可以直接按照对应的搜索引擎语法写 除了微步其他的引擎基本上都支持或逻辑

hosolom commented 1 year ago

多个域名: domain="baidu.com" or domain="baidus.com" 这种?

怕是太多搜索引擎不给?

okoling commented 7 months ago

不支持这种写法

  fofa_query: "domain=\"qq.com\""
  fofa_query: "domain=\"tencent.com\""

只能这种方式

result["fofa"] =  fmt.Sprintf("cert=\"%s\"||domain=\"%s\"", str,str)
result["quake"] =  fmt.Sprintf("cert:\\\"%s\\\"||domain:\\\"%s\\\"", str,str)
result["hunter"] =  fmt.Sprintf("cert.subject=\"%s\"||domain=\"%s\"", str,str)

期待师傅开源或新增读取文件指纹语句再配合这种转换或逻辑就很棒了