Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
doomedraven committed Sep 22, 2024
1 parent 716b40c commit 4d50199
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/processing/parsers/CAPE/SparkRAT.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

HAVE_PYCYPTODOMEX = False
with suppress(ImportError):
from Crypto.Cipher import AES
from Crypto.Util import Counter
from Cryptodome.Cipher import AES
from Cryptodome.Util import Counter

HAVE_PYCYPTODOMEX = True

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ psycopg2-binary = "^2.9.5"
ruff = "0.0.290"
paramiko = "3.4.0"
psutil = "5.9.8"
# peepdf-3 = "4.0.0"

Werkzeug = "3.0.3"
packaging = "23.1"
Expand Down
3 changes: 2 additions & 1 deletion tests_parsers/test_qakbot.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pytest
from modules.processing.parsers.CAPE.QakBot import extract_config


@pytest.mark.skip(reason="Missed file")
def test_qakbot():
with open("tests/data/malware/0cb0d77ac38df36fff891e072dea96401a8c1e8ff40d6ac741d5a2942aaeddbb", "rb") as data:
conf = extract_config(data.read())
Expand Down

0 comments on commit 4d50199

Please sign in to comment.