Exploit databaseDownload repository ZIP
GH-e48f23977fdc202df09b149dbc94da7f
whatthefuzz/openssl-fuzz
Sources for CVE-2022-3768
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files9
whatthefuzz/openssl-fuzzRevision b37b598eb74c
- ↑..Parent directory
- input/
- output/
- Dockerfile
- Makefile
- Mayhemfile
- compile.sh
- confirm-vulnerability.c
- harness.c
- run.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
CVE-2022-3786/compile.sh
Shell · 555 bytes#!/bin/sh
# Change directories into openssl.
cd ./openssl
# Ensure we're on the vulnerable version.
git checkout eec0ad10b943bc10690358cf2db32ca06c3e81a0
# Configure the build for 32-bit, static, and without test (to speed up compilation).
make clean
CC=gcc CXX=g++ CFLAGS="-m32 -Og -g3 -fno-inline-functions -fdump-rtl-expand -fsanitize=address -static-libasan" ./Configure -m32 linux-generic32 no-tests --debug
# Compile the project.
CC=gcc CXX=g++ CFLAGS="-m32 -Og -g3 -fno-inline-functions -fdump-rtl-expand -fsanitize=address -static-libasan" make