Skip to content
Snippets Groups Projects
Commit 762403a3 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- fixed EICAR pattern

parent e465b043
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</fr:x_form> </fr:x_form>
</pl:initParameters> </pl:initParameters>
<pl:description>SLUB Virus Check Plugin using installed ClamAV daemon via tcp-sockets</pl:description> <pl:description>SLUB Virus Check Plugin using installed ClamAV daemon via tcp-sockets</pl:description>
<pl:version>2.0</pl:version> <pl:version>2.01</pl:version>
<pl:materialType>DIGITAL</pl:materialType> <pl:materialType>DIGITAL</pl:materialType>
<pl:module>Repository</pl:module> <pl:module>Repository</pl:module>
<pl:generalType>TASK</pl:generalType> <pl:generalType>TASK</pl:generalType>
......
...@@ -303,7 +303,7 @@ public class SLUBVirusCheckClamAVPlugin implements VirusCheckPluginV2 { ...@@ -303,7 +303,7 @@ public class SLUBVirusCheckClamAVPlugin implements VirusCheckPluginV2 {
if (result.contains(".Exploit.CVE")) { // we want to ignore CVE results if (result.contains(".Exploit.CVE")) { // we want to ignore CVE results
setStatus(Status.UNDETERMINED); setStatus(Status.UNDETERMINED);
log.info("scan of file '" + fileFullPath + "' possibly failed, check manually if should be ignored!"); log.info("scan of file '" + fileFullPath + "' possibly failed, check manually if should be ignored!");
} else if (result.contains("eicar")) { // we want to ignore EICAR } else if (result.contains("Eicar-Signature")) { // we want to ignore EICAR
setStatus(Status.UNDETERMINED); setStatus(Status.UNDETERMINED);
log.info("scan of file '" + fileFullPath + "' possibly failed, because EICAR sequence detected, check manually if should be ignored!"); log.info("scan of file '" + fileFullPath + "' possibly failed, because EICAR sequence detected, check manually if should be ignored!");
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment