mirror of
https://github.com/dobin/SuperMega
synced 2026-06-02 17:27:10 +00:00
refactor: syntax, types, logging, cleanup
This commit is contained in:
@@ -51,12 +51,12 @@ def clean_files(settings):
|
||||
|
||||
|
||||
def run_exe(exefile, dllfunc="", check=True):
|
||||
logger.info("--[ Start infected file: {}".format(exefile))
|
||||
logger.info("-[ Start infected file: {}".format(exefile))
|
||||
|
||||
if exefile.endswith(".dll"):
|
||||
if dllfunc == "":
|
||||
dllfunc = "dllMain"
|
||||
logger.info("----[ No DLL function specified, using default: {}".format(dllfunc))
|
||||
logger.info("---[ No DLL function specified, using default: {}".format(dllfunc))
|
||||
#raise Exception("---[ No DLL function specified")
|
||||
args = [ "rundll32.exe", "{},{}".format(exefile, dllfunc) ]
|
||||
elif exefile.endswith(".exe"):
|
||||
|
||||
Reference in New Issue
Block a user