Add unixvictim binaries for Linux/arm{hf,64}

This commit is contained in:
Ole André Vadla Ravnås
2020-11-02 17:00:21 +01:00
parent 542f1b8887
commit 03288953b1
3 changed files with 7 additions and 1 deletions
+7 -1
View File
@@ -11,7 +11,13 @@ if system == 'Windows':
elif system == 'Darwin':
target_program = os.path.join(os.path.dirname(__file__), "unixvictim-macos")
else:
arch = "x86_64" if sys.maxsize > 2**32 else "x86"
machine = platform.machine()
if machine == 'aarch64':
arch = 'arm64'
elif machine.startswith('arm'):
arch = 'armhf'
else:
arch = 'x86_64' if sys.maxsize > 2**32 else 'x86'
target_program = os.path.join(os.path.dirname(__file__), "unixvictim-linux-" + arch)
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.