Exploit database

GH-f6ea8f90284ed59c223776a7980aa686

acorn421/san2patch-benchmark

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2016-10094

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files10

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

libming/CVE-2016-9264/config_func.sh

Shell · 758 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_func/$benchmark_name/$project_name/$bug_id
cd $dir_name/src

PROJECT_CFLAGS="-g -O0 -static"
if [[ -n "${CFLAGS}" ]]; then
  PROJECT_CFLAGS="${PROJECT_CFLAGS} ${CFLAGS}"
fi

if [[ -n "${R_CFLAGS}" ]]; then
  PROJECT_CFLAGS="${R_CFLAGS}"
fi

PROJECT_CONFIG_OPTIONS="--disable-freetype"
if [[ -n "${CONFIG_OPTIONS}" ]]; then
  PROJECT_CONFIG_OPTIONS="${PROJECT_CONFIG_OPTIONS} ${CONFIG_OPTIONS}"
fi

 ./configure CFLAGS="${PROJECT_CFLAGS}" ${PROJECT_CONFIG_OPTIONS}