xiecat / fofax

FOFAX是一个基于fofa.info的API命令行查询工具
https://fofax.xiecat.fun/
GNU General Public License v3.0
719 stars 74 forks source link

fx规则-ss命令使用建议 #5

Closed nonu11 closed 2 years ago

nonu11 commented 2 years ago

fx规则使用-ss查看详情时会列出与所有规则的匹配过程,看起来不是很友好。还有就是不支持模糊查询,记不住名称或编号得挨个翻。

Becivells commented 2 years ago

十分感谢你的建议。显示编号这个是debug信息没有删除。中午已经注意到这个问题了。刚刚release一个版本已经去掉了。因为-ss是属于显示单个信息的。如果模糊匹配可能会匹配多个。你这里有更好的方法么,咱们可以讨论一下

nonu11 commented 2 years ago

是否可以-l参数后加一个模糊匹配字段,这样只有-l显示全部列表,-l+匹配关键词显示模糊匹配列表,-ss依旧显示单条的详细信息。

---原始邮件--- 发件人: @.> 发送时间: 2021年12月27日(周一) 中午1:28 收件人: @.>; 抄送: @.**@.>; 主题: Re: [xiecat/fofax] fx规则-ss命令使用建议 (Issue #5)

十分感谢你的建议。显示编号这个是debug信息没有删除。中午已经注意到这个问题了。刚刚release一个版本已经去掉了。因为-ss是属于显示单个信息的。如果模糊匹配可能会匹配多个。你这里有更好的方法么,咱们可以讨论一下

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

Becivells commented 2 years ago

多个搜索可以使用 -s 支持模糊查询如

fofax -s 'fofa'
fofax -s 'tag=fofa'
fofax -s 'rulename=vmware;tag=log4j2'
fofax -s 'rulename=St;tag=log4j2;author=jsqj'

-s 查询中对于query、 id 和 tag 只能是全匹配。其他的随意。

nonu11 commented 2 years ago

好的,感谢您的回复。

---原始邮件--- 发件人: @.> 发送时间: 2021年12月27日(周一) 中午1:36 收件人: @.>; 抄送: @.**@.>; 主题: Re: [xiecat/fofax] fx规则-ss命令使用建议 (Issue #5)

多个搜索可以使用 -s 支持模糊查询如 fofax -s 'fofa' fofax -s 'tag=fofa' fofax -s 'rulename=vmware;tag=log4j2' fofax -s 'rulename=St;tag=log4j2;author=jsqj'

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

Becivells commented 2 years ago

好的我们这边把文档完善一下。如果您这边没问题。我就把 issus 关掉了