7F45 are the first two bytes of the ELF header \x7FELF
. Android also uses ELF, so the error message you encounter means that the FaceNiff binary is not recognised as executable by your kernel (unlikely, unless you forgot to chmod +x
it), not for your architecture (e.g. x86 instead of ARM), or uses a dynamic linker not included (e.g. glibc or µClibc instead of Bionic).
If you need to run an Android-ARM executable on Android-x86 you must recompile it for x86 (and look for the correct bitness too, 32-bit vs. 64-bit is also different).
Disclaimer: I’m the mksh
maintainer.