此工具用于检测主机是否易受 CVE-2019-19781 影响。
Python 3.6 及以上版本。请注意,不支持 Python 2。
通过发行版安装:
pip install https://github.com/cisagov/check-cve-2019-19781/releases/download/v1.0.2/cve_2019_19781-1.0.2-py3-none-any.whl
从源码安装:
git clone https://github.com/cisagov/check-cve-2019-19781.git
cd check-cve-2019-19781
pip install -r requirements.txt
扫描主机:
❱ cve-2019-19781 citrix.example.org
2020-01-10 22:11:46,312 WARNING citrix.example.org 似乎存在漏洞。
详细用法信息可通过以下命令查看:
❱ cve-2019-19781 --help
Check for the existence of CVE-2019-19781 on a host machine.
EXIT STATUS
This utility exits with one of the following values:
0 The host does not seem vulnerable
1 Command was invoked incorrectly
2 The host appears to be vulnerable
>2 An error occurred.
For more information about this vulnerability see:
https://nvd.nist.gov/vuln/detail/CVE-2019-19781
Usage:
cve-2019-19781 [options] <host>
cve-2019-19781 (-h | --help)
Options:
-h --help Show this message.
--log-level=LEVEL If specified, then the log level will be set to
the specified value. Valid values are "debug", "info",
"warning", "error", and "critical". [default: info]
-r --retries=count Number of times to retry a failed connection attempt before
giving up. [default: 2]
-t --timeout=seconds Number of seconds to wait during each connection attempt.
[default: 10]
我们欢迎贡献!详情请参阅 CONTRIBUTING.md。
本项目在全球范围内属于公共领域。
本项目在美国属于公共领域,且通过 CC0 1.0 通用公共领域贡献 免除全球范围内的版权及相关权利。
对本项目的所有贡献都将根据 CC0 贡献声明发布。提交拉取请求即表示您同意遵守此版权利益豁免。