wechat-service icon indicating copy to clipboard operation
wechat-service copied to clipboard

Building image failed, then pulled and ran error

Open nulshell opened this issue 1 year ago • 0 comments

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

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

nulshell avatar Apr 26 '23 00:04 nulshell