Exploit database

GH-ea821316336f01071e5d83d15c2dd13b

opsxcq/exploit-cve-2017-7494

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2017-7494

38 sources

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

Repository files27
opsxcq/exploit-cve-2017-7494Revision 4d0bde4f1a7d

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"