diff --git a/aikido_zen/vulnerabilities/sql_injection/get_lib_path.py b/aikido_zen/vulnerabilities/sql_injection/get_lib_path.py index 1e4b8e6c..2e403fdb 100644 --- a/aikido_zen/vulnerabilities/sql_injection/get_lib_path.py +++ b/aikido_zen/vulnerabilities/sql_injection/get_lib_path.py @@ -15,9 +15,10 @@ def get_file_name(): """Gives you the file name for the binary based on platform info""" os_name = platform.system().lower() architecture = platform.architecture()[0].lower() + machine = platform.machine().lower() file_name = "libzen_internals_" - if "aarch64" in architecture: + if "aarch64" in architecture or "arm64" in machine: file_name += "aarch64-" elif "64" in architecture: file_name += "x86_64-"