Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VirusCheckPlugin4Rosetta
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
VirusCheckPlugin4Rosetta
Commits
762403a3
Commit
762403a3
authored
4 years ago
by
Andreas Romeyke
Browse files
Options
Downloads
Patches
Plain Diff
- fixed EICAR pattern
parent
e465b043
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
PLUGIN-INF/metadata_SLUBVirusCheckClamAVPlugin.xml
+1
-1
1 addition, 1 deletion
PLUGIN-INF/metadata_SLUBVirusCheckClamAVPlugin.xml
java/org/slub/rosetta/dps/repository/plugin/SLUBVirusCheckClamAVPlugin.java
+1
-1
1 addition, 1 deletion
...tta/dps/repository/plugin/SLUBVirusCheckClamAVPlugin.java
with
2 additions
and
2 deletions
PLUGIN-INF/metadata_SLUBVirusCheckClamAVPlugin.xml
+
1
−
1
View file @
762403a3
...
@@ -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.0
1
</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>
...
...
This diff is collapsed.
Click to expand it.
java/org/slub/rosetta/dps/repository/plugin/SLUBVirusCheckClamAVPlugin.java
+
1
−
1
View file @
762403a3
...
@@ -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
(
"
e
icar"
))
{
// we want to ignore EICAR
}
else
if
(
result
.
contains
(
"
E
icar
-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
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment