diff --git a/NimPlant.py b/NimPlant.py index b63da6e..37a9097 100644 --- a/NimPlant.py +++ b/NimPlant.py @@ -19,7 +19,7 @@ def print_banner(): print( - """ + r""" * *(# # ** **(## ## ######## ( ******** @@ -130,7 +130,12 @@ def compile_nim(binary_type, xor_key, debug=False): # Enable Ekko sleep mask if defined in config.toml, but only for self-contained executables sleep_mask_enabled = config["nimplant"]["sleepMask"] - if sleep_mask_enabled and binary_type not in ["exe", "exe-selfdelete", "dll", "raw"]: + if sleep_mask_enabled and binary_type not in [ + "exe", + "exe-selfdelete", + "dll", + "raw", + ]: print(" ERROR: Ekko sleep mask is only supported for executables!") print(f" Compiling {binary_type} without sleep mask...") sleep_mask_enabled = False @@ -201,7 +206,6 @@ def compile_nim(binary_type, xor_key, debug=False): if len(sys.argv) > 1: if sys.argv[1] == "compile": - if len(sys.argv) > 3 and sys.argv[3] in ["nim", "nim-debug"]: implant = sys.argv[3] else: