Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2 from Rafiot/master
Browse files Browse the repository at this point in the history
Fix the submodules
  • Loading branch information
botherder authored Feb 14, 2020
2 parents c292ed3 + f42323b commit d21d555
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[submodule "Mach-O"]
path = pymacho_helper
url = https://github.com/viper-framework/Mach-O.git
branch = master
[submodule "pdftools"]
path = pdftools
url = https://github.com/viper-framework/pdftools.git
branch = master
[submodule "pymacho_helper"]
path = pymacho_helper
url = https://github.com/viper-framework/Mach-O.git
branch = master
4 changes: 2 additions & 2 deletions misp.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import textwrap
import os
import logging
from os.path import expanduser

try:
from pymisp import ExpandedPyMISP, PyMISPError, MISPEvent
Expand All @@ -26,7 +27,6 @@
from viper.core.project import __project__
from viper.core.storage import get_sample_path
from viper.common.objects import MispEvent
from viper.common.constants import VIPER_ROOT
from viper.core.config import __config__

log = logging.getLogger('viper')
Expand Down Expand Up @@ -430,7 +430,7 @@ def yara(self):
if not ok:
self.log('error', data)
return
rule_path = os.path.join(VIPER_ROOT, 'data/yara', self.args.event + '.yara')
rule_path = os.path.join(expanduser("~"), ".viper", 'data/yara', self.args.event + '.yara')
if os.path.exists(rule_path):
self.log('error', 'File {} already exists.'.format(rule_path))
return
Expand Down
1 change: 1 addition & 0 deletions pdftools
Submodule pdftools added at ad76d5
1 change: 1 addition & 0 deletions pymacho_helper
Submodule pymacho_helper added at 5717c9
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ PyMISPGalaxies @ git+https://github.com/MISP/PyMISPGalaxies.git#egg=PyMISPGalaxi
ocrd-pyexiftool==0.2.0

# LIEF module
lief==0.10.0.dev0 ; python_version >= '3.5'
lief==0.10.1 ; python_version >= '3.6'

# Snoopdroid module
snoopdroid==2.1

0 comments on commit d21d555

Please sign in to comment.