I have been searching and trying a lot of things for a while now.
Setup:
- Kali Linux as Virtiual Maschine using UTM on MAC M2
uname -a
Linux kali 6.1.0-kali9-arm64 #1 SMP Debian 6.1.27-1kali1 (2023-05-12) aarch64 GNU/Linux - Want to execute a file named 'my-file'
file my-file
my-file: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=9fdbc145689e0fb79cb7291203431012ae8e1911, stripped
I found this article and follow the instructions. After restarting Kali pwsh
Command is working. For my-file I still get the following error: zsh: exec format error: ./my-file