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 files27
opsxcq/exploit-cve-2017-7494Revision 4d0bde4f1a7d
- ↑..Parent directory
- ABI/
- compat/
- doc/
- man/
- web/
- Makefile
- NEWS
- configure
- doxy.config
- pytalloc-util.pc.in
- pytalloc.c
- pytalloc.h
- pytalloc_guide.txt
- pytalloc_private.h
- pytalloc_util.c
- talloc.c
- talloc.h
- talloc.pc.in
- talloc_guide.txt
- talloc_testsuite.h
- test_magic_differs.sh
- test_magic_differs_helper.c
- test_pytalloc.c
- test_pytalloc.py
- testsuite.c
- testsuite_main.c
- wscript
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/lib/talloc/test_magic_differs.sh
Shell · 361 bytes#!/bin/sh
# This test ensures that two different talloc processes do not use the same
# magic value to lessen the opportunity for transferrable attacks.
echo "test: magic differs"
helper=$1
m1=$($helper)
m2=$($helper)
if [ $m1 -eq $m2 ]; then
echo "failure: magic remained the same between executions ($m1 vs $m2)"
exit 1
fi
echo "success: magic differs"