Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
common_helper_yara
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
common_helper_yara
Commits
5bdaf804
Commit
5bdaf804
authored
Sep 08, 2021
by
Jörg Stucke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'yara-3.9-support' of github.com:fkie-cad/common_helper_yara into yara-3.9-support
parents
38349c85
81434b28
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
yara_scan.py
common_helper_yara/yara_scan.py
+1
-1
No files found.
common_helper_yara/yara_scan.py
View file @
5bdaf804
...
@@ -36,7 +36,7 @@ def scan(
...
@@ -36,7 +36,7 @@ def scan(
scan_result
=
check_output
(
command
,
shell
=
True
,
stderr
=
STDOUT
)
scan_result
=
check_output
(
command
,
shell
=
True
,
stderr
=
STDOUT
)
return
_parse_yara_output
(
scan_result
.
decode
())
return
_parse_yara_output
(
scan_result
.
decode
())
except
CalledProcessError
as
e
:
except
CalledProcessError
as
e
:
logging
.
error
(
f
"There seems to be an error in the rule file:
\n
{e.output.decode()}"
)
logging
.
error
(
f
'There seems to be an error in the rule file:
\n
{e.output.decode()}'
,
exc_info
=
True
)
return
{}
return
{}
except
Exception
as
e
:
except
Exception
as
e
:
logging
.
error
(
f
'Could not parse yara result: {e}'
,
exc_info
=
True
)
logging
.
error
(
f
'Could not parse yara result: {e}'
,
exc_info
=
True
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment