From cddace83a40639bae63f5d446175d06a3fd87245 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sat, 5 Oct 2024 06:39:34 +0000 Subject: [PATCH] style: Automatic code formatting --- modules/signatures/all/packer_aspack.py | 3 ++- modules/signatures/all/packer_enigma.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/signatures/all/packer_aspack.py b/modules/signatures/all/packer_aspack.py index 389c5f74..5672942a 100644 --- a/modules/signatures/all/packer_aspack.py +++ b/modules/signatures/all/packer_aspack.py @@ -15,6 +15,7 @@ from lib.cuckoo.common.abstracts import Signature + class ASPackPacked(Signature): name = "packer_aspack" description = "Executable file is packed/obfuscated with ASPack" @@ -37,6 +38,6 @@ def run(self): for section in pe["sections"]: if section["name"].lower().startswith("aspack"): self.data.append({"section": section}) - ret = True + ret = True return ret diff --git a/modules/signatures/all/packer_enigma.py b/modules/signatures/all/packer_enigma.py index 4b4d44cb..3713fcd9 100644 --- a/modules/signatures/all/packer_enigma.py +++ b/modules/signatures/all/packer_enigma.py @@ -15,6 +15,7 @@ from lib.cuckoo.common.abstracts import Signature + class EnigmaPacked(Signature): name = "packer_enigma" description = "Executable file is packed/obfuscated with Enigma" @@ -37,6 +38,6 @@ def run(self): for section in pe["sections"]: if section["name"].lower().startswith(".enigma"): self.data.append({"section": section}) - ret = True + ret = True return ret