Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
common_analysis_ip_and_uri
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_analysis_ip_and_uri
Commits
3001fbeb
Unverified
Commit
3001fbeb
authored
3 years ago
by
Jörg Stucke
Committed by
GitHub
3 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FACT compatibility hotfix
the variable `system_version` is used in the plugin ip_and_uri_finder in FACT
parent
64ecc746
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ip_and_uri_finder_analysis.py
..._analysis_ip_and_uri_finder/ip_and_uri_finder_analysis.py
+2
-2
No files found.
common_analysis_ip_and_uri_finder/ip_and_uri_finder_analysis.py
View file @
3001fbeb
...
...
@@ -7,7 +7,7 @@ import yara
from
common_analysis_base
import
AnalysisPluginFile
from
common_helper_files
import
get_dir_of_file
from
.version
import
__version__
from
.version
import
__version__
as
system_version
logger
=
logging
.
getLogger
(
'CommonAnalysisIPAndURIFinder'
)
logger
.
setLevel
(
logging
.
INFO
)
...
...
@@ -117,7 +117,7 @@ class URIFinder(FinderBase):
class
CommonAnalysisIPAndURIFinder
(
AnalysisPluginFile
):
def
__init__
(
self
,
yara_uri_rules
=
None
,
yara_ip_rules
=
None
):
super
(
CommonAnalysisIPAndURIFinder
,
self
)
.
__init__
(
__version__
)
super
(
CommonAnalysisIPAndURIFinder
,
self
)
.
__init__
(
system_version
)
self
.
_set_rule_file_pathes
(
yara_uri_rules
,
yara_ip_rules
)
self
.
_check_for_errors
()
...
...
This diff is collapsed.
Click to expand it.
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