Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
doomedraven committed Feb 9, 2025
1 parent 72ddfbe commit 6bf8860
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 25 deletions.
2 changes: 1 addition & 1 deletion extra/libvirt_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -ex
# run this via...
# cd /opt/CAPEv2/ ; sudo -u cape /etc/poetry/bin/poetry run extra/libvirt_installer.sh

LIB_VERSION=10.10.0
LIB_VERSION=11.0.0
cd /tmp || return

if [ ! -f v${LIB_VERSION}.zip ]; then
Expand Down
2 changes: 1 addition & 1 deletion installer/kvm-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ QTARGETS="--target-list=i386-softmmu,x86_64-softmmu,i386-linux-user,x86_64-linux
qemu_version=9.2.0
# libvirt - https://libvirt.org/sources/
# changelog - https://libvirt.org/news.html
libvirt_version=10.10.0
libvirt_version=11.0.0
# virt-manager - https://github.com/virt-manager/virt-manager/releases
# autofilled
OS=""
Expand Down
7 changes: 5 additions & 2 deletions tests/test_suricata_naming.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import os
import sys

if sys.version_info[:2] < (3, 6):
sys.exit("You are running an incompatible version of Python, please use >= 3.6")
if sys.version_info[:2] < (3, 8):
sys.exit("You are running an incompatible version of Python, please use >= 3.8")

CUCKOO_ROOT = os.path.join(os.path.abspath(os.path.dirname(__file__)), "..")
sys.path.append(CUCKOO_ROOT)
Expand Down Expand Up @@ -61,3 +61,6 @@ def test_suricata_naming():
assert "Photoloader" == get_suricata_family("ET MALWARE W32/Photoloader.Downloader Request Cookie")
assert "Pcrat" == get_suricata_family("ET MALWARE Backdoor family PCRat/Gh0st CnC traffic")
assert "Stealc" == get_suricata_family("ET MALWARE [SEKOIA.IO] Win32/Stealc C2 Check-in")

if __name__ == "__main__":
print("Suricata detects as:", get_suricata_family(sys.argv[1]))
17 changes: 0 additions & 17 deletions utils/test_suricata_signature.py

This file was deleted.

5 changes: 1 addition & 4 deletions utils/tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
from dataclasses import dataclass
from typing import ClassVar

try:
import re2 as re
except ImportError:
import re
import re


@dataclass()
Expand Down

0 comments on commit 6bf8860

Please sign in to comment.