We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
想要看下所有的搜索结果,然后加了这个条件,在/opt/xunfeng/views/lib/QueryLogic.py里面添加了两行代码,在搜索的时候输入abc:就可以搜索出来全部的扫描机器,如有需求的话可以看着改,我写这个判断有点二,端口大于0的都输出。
/opt/xunfeng/views/lib/QueryLogic.py
abc:
elif q_key == 'hostname': query['hostname'] = {"$regex": q_value, '$options': 'i'} elif q_key == "abc": query['port'] = {'$gt':0} elif q_key == 'all': filter_lst = []
The text was updated successfully, but these errors were encountered:
ip: 就可以
Sorry, something went wrong.
沙雕了,谢谢
No branches or pull requests
想要看下所有的搜索结果,然后加了这个条件,在
/opt/xunfeng/views/lib/QueryLogic.py
里面添加了两行代码,在搜索的时候输入abc:
就可以搜索出来全部的扫描机器,如有需求的话可以看着改,我写这个判断有点二,端口大于0的都输出。The text was updated successfully, but these errors were encountered: