Exploit databaseDownload repository ZIP
GH-ea821316336f01071e5d83d15c2dd13b
opsxcq/exploit-cve-2017-7494
Sources for CVE-2017-7494
38 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files20
opsxcq/exploit-cve-2017-7494Revision 4d0bde4f1a7d
- ↑..Parent directory
- krb5/
- asn1_compile_wrapper.sh
- config.h
- crypto-headers.h
- et_compile_wrapper.sh
- gssapi-glue.c
- hdb-glue.c
- ifaddrs.hin
- kafs.h
- krb5-glue.c
- krb5-types.h
- lexyacc.sh
- perl_path_wrapper.sh
- print_version.h
- replace.c
- roken.h
- version.c
- vis.h
- wscript_build
- wscript_configure
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/source4/heimdal_build/asn1_compile_wrapper.sh
Shell · 808 bytes#!/bin/sh
#
SELF=$0
SELFDIR=`dirname ${SELF}`
BUILDDIR=$1
DESTDIR=$2
CMD=$3
FILE=$4
NAME=$5
shift 5
OPTIONS="$@"
test -z "${BUILDDIR}" && {
echo "${SELF}:BUILDDIR: '${BUILDDIR}'" >&2;
exit 1;
}
test -z "${DESTDIR}" && {
echo "${SELF}:DESTDIR: '${DESTDIR}'" >&2;
exit 1;
}
test -z "${CMD}" && {
echo "${SELF}:CMD: '${CMD}'" >&2;
exit 1;
}
test -z "${FILE}" && {
echo "${SELF}:FILE: '${FILE}'" >&2;
exit 1;
}
test -z "${NAME}" && {
echo "${SELF}:NAME: '${NAME}'" >&2;
exit 1;
}
CURDIR=`pwd`
cd ${BUILDDIR} && {
ABS_BUILDDIR=`pwd`
cd ${CURDIR}
} || {
echo "${SELF}:cannot cd into '${BUILDDIR}'" >&2;
exit 1;
}
cd ${DESTDIR} && {
${ABS_BUILDDIR}/${CMD} ${OPTIONS} ${FILE} ${NAME} >&2 || exit 1;
cd ${CURDIR}
} || {
echo "${SELF}:cannot cd into '${BUILDDIR}'" >&2;
exit 1;
}
exit 0;