Exploit databaseDownload repository ZIP
GH-ed3486cbd8554f11d3700ac8ae44ca9c
ekamsinghwalia/openssl-vulnerability-detection-script
Sources for CVE-2022-2274
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files3
ekamsinghwalia/openssl-vulnerability-detection-scriptRevision 61726674667e
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
detection.sh
Shell · 230 bytesvar=$(openssl version | grep -E [3]\.[0\.*[0-6]*])
if [[ -n $var ]]
then
echo "you are vulnerable to the openSSL vulnerability cve-2022-2274 "
else
echo "you are safe from open SSL vulnerability cve-2022-2274"
fi