update cve/openssl/2022/CVE-2022-0778/README.md.

Signed-off-by: 伊显纯 <yixianchun@buaa.edu.cn>
This commit is contained in:
伊显纯 2023-03-12 10:01:05 +00:00 committed by Re3et
parent 40e17a16c1
commit 2d0bca68f5
1 changed files with 1 additions and 3 deletions

View File

@ -1,8 +1,6 @@
The prerequisite is having installed gcc and a vulnerable version of OpenSSL.
For the bug in BN_mod_sqrt(): compile with gcc -o bad_BN bad_BN.c -lcrypto, run ./bad_BN
With a certificate: run openssl x509 -in certs/cert.der.new -inform DER -text -noout
POC of BN_mod_sqrt(): compile with gcc -o bad_BN bad_BN.c -lcrypto, run ./bad_BN
REF: https://github.com/drago-96/CVE-2022-0778