test for the ioc described for FG-IR-22-398# ioc-cve-2022-42475
a simple util that uses ssh to check for the ioc's noted in [fortiguard](https://www.fortiguard.com/psirt/FG-IR-22-398).
it uses ssh and runs the commands described on [fortinet forum](https://community.fortinet.com/t5/FortiGate/Technical-Tip-Critical-vulnerability-Protect-against-heap-based/ta-p/239420).
## build
git clone the project.
this is developed on 1.66.1.
build using cargo:
cargo build --release
## run
after building it runs like any other commandline utility.
./ioc-cve-2022-42475
it wil return true on any of the ioc matches.
[4.0K] /data/pocs/827eb540257f26b0ea2158cb650286135fb4339a
├── [5.0K] Cargo.lock
├── [ 221] Cargo.toml
├── [1.5K] License
├── [ 591] README.md
└── [4.0K] src
└── [3.5K] main.rs
1 directory, 5 files