Exploit database

GH-1917e82ea4e17d91152ad921475048a4

automateforceai/cve-2018-0202

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2018-0202

1 source

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

Repository files69Next files →

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

clamav-0.99.3-fix/unit_tests/virusaction-test.sh

Shell · 354 bytes
#!/bin/sh
if test ! `basename $CLAM_VIRUSEVENT_FILENAME` = "clam.exe"; then
	echo "VirusEvent incorrect: $CLAM_VIRUSEVENT_FILENAME" >$1/test-clamd.log
	exit 1
fi
if test ! "x$CLAM_VIRUSEVENT_VIRUSNAME" = "xClamAV-Test-File.UNOFFICIAL"; then
	echo "VirusName incorrect: $CLAM_VIRUSEVENT_VIRUSNAME" >$1/test-clamd.log
	exit 2
fi
echo $2 >$1/test-clamd.log