项目作者: cisagov

项目描述 :
Test a host for susceptibility to CVE-2019-19781
高级语言: Python
项目地址: git://github.com/cisagov/check-cve-2019-19781.git
创建时间: 2020-01-11T00:26:16Z
项目社区:https://github.com/cisagov/check-cve-2019-19781

开源协议:Creative Commons Zero v1.0 Universal

下载


check-cve-2019-19781 🔎🐞

GitHub Build Status
Coverage Status
Total alerts
Language grade: Python
Known Vulnerabilities

This utility determines if a host appears susceptible to
CVE-2019-19781.

Requirements

Python versions 3.6 and above. Note that Python 2 is not supported.

Installation

From a release:

  1. 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

From source:

  1. git clone https://github.com/cisagov/check-cve-2019-19781.git
  2. cd check-cve-2019-19781
  3. pip install -r requirements.txt

Usage

To scan a host:

  1. cve-2019-19781 citrix.example.org
  1. 2020-01-10 22:11:46,312 WARNING citrix.example.org appears to be vulnerable.

Detailed usage information can be viewed with:

  1. cve-2019-19781 --help
  2. Check for the existence of CVE-2019-19781 on a host machine.
  3. EXIT STATUS
  4. This utility exits with one of the following values:
  5. 0 The host does not seem vulnerable
  6. 1 Command was invoked incorrectly
  7. 2 The host appears to be vulnerable
  8. >2 An error occurred.
  9. For more information about this vulnerability see:
  10. https://nvd.nist.gov/vuln/detail/CVE-2019-19781
  11. Usage:
  12. cve-2019-19781 [options] <host>
  13. cve-2019-19781 (-h | --help)
  14. Options:
  15. -h --help Show this message.
  16. --log-level=LEVEL If specified, then the log level will be set to
  17. the specified value. Valid values are "debug", "info",
  18. "warning", "error", and "critical". [default: info]
  19. -r --retries=count Number of times to retry a failed connection attempt before
  20. giving up. [default: 2]
  21. -t --timeout=seconds Number of seconds to wait during each connection attempt.
  22. [default: 10]

Contributing

We welcome contributions! Please see CONTRIBUTING.md for
details.

License

This project is in the worldwide public domain.

This project is in the public domain within the United States, and
copyright and related rights in the work worldwide are waived through
the CC0 1.0 Universal public domain
dedication
.

All contributions to this project will be released under the CC0
dedication. By submitting a pull request, you are agreeing to comply
with this waiver of copyright interest.