Skip to content
This repository was archived by the owner on Oct 24, 2024. It is now read-only.
This repository was archived by the owner on Oct 24, 2024. It is now read-only.

Building image failed, then pulled and ran error #5

@nulshell

Description

@nulshell

Linux 22-10-28-0547 5.15.0-1034-oracle #40-Ubuntu SMP Wed Apr 19 16:10:04 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

先尝试 ./build-injector-box.sh
...
RUN bash -c 'nohup /entrypoint.sh 2>&1 &' && sleep 5 && /payloads.sh && sudo rm /tmp/.X0-lock
这一步时出现 error and exit (1), building image failed.

然后尝试
sudo docker pull chisbread/wechat-service
运行
sudo docker run -it --name wechat-service --rm
-e HOOK_PROC_NAME=WeChat
-e HOOK_DLL=auto.dll
-e TARGET_AUTO_RESTART="yes"
-e INJ_CONDITION="[ "`sudo netstat -tunlp | grep 5555`" != '' ] && exit 0 ; sleep 5 ; curl 'http://127.0.0.1:8680/hi' 2>/dev/null | grep -P 'code.:0'"
-e TARGET_CMD=wechat-start
-p 8080:8080 -p 5555:5555 -p 5900:5900
--add-host=dldir1.qq.com:127.0.0.1
chisbread/wechat-service:latest
时出现
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
exec /inj-entrypoint.sh: exec format error

请问可以怎样解决吗?谢谢。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions