InfoSearchAll icon indicating copy to clipboard operation
InfoSearchAll copied to clipboard

功能增强

Open okoling opened this issue 2 years ago • 3 comments

个人用go也写了个聚合查询,有一些功能挺实用的可以增加

  1. 添加favicon,cert查询
  2. 接口增加 censys
  3. 查询数量统计,方便对比
  4. IP地区识别 纯真/geoip
  5. 本地数据存储 mysql/sqlite
  6. 批量查询 //可以用到一个trick 这种搜索引擎可以多个并行查询减少查询请求
func MakeCertQuery(str string) map[string]string  {
	result := make(map[string]string)
	if len(str) !=0 {
		result["fofa"] =  fmt.Sprintf("cert=\"%s\"||domain=\"%s\"", str,str)
		result["shodan"] =  fmt.Sprintf("ssl.cert.subject.cn:\"%s\"", str)
		result["quake"] =  fmt.Sprintf("cert:\\\"%s\\\"||domain:\\\"%s\\\"", str,str)
		result["hunter"] =  fmt.Sprintf("cert.subject=\"%s\"||domain=\"%s\"", str,str)
		result["censys"] =  fmt.Sprintf("services.tls.certificates.leaf_data.names:\"%s\" or services.tls.certificates.leaf_data.subject_dn:\"%s\"", str,str)
		return result
	}
	return nil
}

okoling avatar Jun 09 '22 12:06 okoling

OK

ExpLangcn avatar Jun 09 '22 13:06 ExpLangcn

师傅,我在想怎么让程序支持多个平台的语法,不然现在无法进行语法的组合,有没有什么方案吗?

ExpLangcn avatar Jun 10 '22 10:06 ExpLangcn

师傅,我在想怎么让程序支持多个平台的语法,不然现在无法进行语法的组合,有没有什么方案吗?

目前我也只写了常用的几个:title、body、cert、favicon 语法组合的话,没什么好的办法只能把常用的转换一下

okoling avatar Jun 13 '22 15:06 okoling