To use this vulnerability checker, make sure you have Python3 and lib colorama installed.
pip3 install colorama
python3 check.py IP PORT
CVE-2023-42789 is an out-of-bounds write vulnerability affecting Fortinet FortiOS versions 7.4.0 through 7.4.1, 7.2.0 through 7.2.5, 7.0.0 through 7.0.12, 6.4.0 through 6.4.14, 6.2.0 through 6.2.15, and FortiProxy versions 7.4.0, 7.2.0 through 7.2.6, 7.0.0 through 7.0.12, 2.0.0 through 2.0.13. It allows attackers to execute unauthorized code or commands via specially crafted HTTP requests.