Exploit databaseDownload repository ZIP
GH-f6ea8f90284ed59c223776a7980aa686
acorn421/san2patch-benchmark
Sources for CVE-2016-10094
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files10
acorn421/san2patch-benchmarkRevision cd54141e4e15
- ↑..Parent directory
- aflplusplus/
- tests/
- build.sh
- build_func.sh
- config.sh
- config_func.sh
- deps.sh
- setup.sh
- test.sh
- test_func.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
libming/CVE-2016-9264/setup.sh
Shell · 692 bytes#!/bin/bash
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
benchmark_name=$(echo $script_dir | rev | cut -d "/" -f 3 | rev)
project_name=$(echo $script_dir | rev | cut -d "/" -f 2 | rev)
bug_id=$(echo $script_dir | rev | cut -d "/" -f 1 | rev)
dir_name=/experiment/$benchmark_name/$project_name/$bug_id
current_dir=$PWD
mkdir -p $dir_name
cd $dir_name
mkdir dev-patch
project_url=https://github.com/libming/libming.git
fix_commit_id=19e7127e29122be571c87bfb90bca9581417d220
bug_commit_id=cc6a386
cd $dir_name
git clone $project_url src
cd src
git checkout $bug_commit_id
git format-patch -1 $fix_commit_id
cp *.patch $dir_name/dev-patch/fix.patch
./autogen.sh