Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux aarch64 无法运行 #28

Open
importtime opened this issue Nov 23, 2023 · 1 comment
Open

linux aarch64 无法运行 #28

importtime opened this issue Nov 23, 2023 · 1 comment

Comments

@importtime
Copy link

aarch64 架构的linux
我尝试了
agent_arm_eabi5
agent_linux_x86
agent_linux_x64
都无法运行

@importtime
Copy link
Author

我询问了chatgpt
通常情况下,要在 aarch64 架构上运行 arm_eabi5(32位 ARM)的二进制文件,确保你的系统支持32位运行时,并安装了相应的32位库是非常重要的。如果系统中没有相应的库支持,运行时可能会失败。

以下是一些基本步骤:

启用32位支持:
在许多Linux系统上,你需要启用32位支持。在Ubuntu系统上,可以通过以下方式启用:

sudo dpkg --add-architecture armhf
sudo apt-get update
sudo apt-get install libc6:armhf
安装32位的库:
你可能需要安装一些32位版本的库,以满足 arm_eabi5 二进制文件的依赖关系。

sudo apt-get install libsomething:i386
替换 "libsomething" 为实际的库名。

尝试运行二进制文件:
使用 qemu-aarch64 模拟器运行 arm_eabi5 二进制文件。请确保已经安装了 QEMU。

qemu-aarch64 -L /usr/arm-linux-gnueabi/ ./your_arm_eabi5_binary

注意替换 ./your_arm_eabi5_binary 为你的二进制应用程序的路径。

在尝试运行之前,请确保你的系统上已经有了必要的32位支持库。如果还是无法运行,可能需要更进一步的调查,检查二进制文件的依赖关系和可能的错误消息。

但是渗透环境并不支持安装依赖。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant