feature: redbackdoorer mode arg

This commit is contained in:
Dobin
2024-02-16 21:36:43 +00:00
parent 1feeb66f76
commit fd9dc68eea
3 changed files with 26 additions and 5 deletions
+11
View File
@@ -90,3 +90,14 @@ def delete_all_files_in_directory(directory_path):
#logger.info(f"Deleted {file_path}")
except Exception as e:
logger.info(f"Error deleting {file_path}: {e}")
def rbrunmode_str(rbrunmode):
if rbrunmode == "1":
return "change AddressOfEntryPoint"
elif rbrunmode == "2":
return "hijack branching instruction at Original Entry Point (jmp, call, ...)"
elif rbrunmode == "3":
return "setup TLS callback"
else:
return "Invalid"