GoRAT
GoRAT copied to clipboard
Android Target ARM 32bit Cross-Compiler Failure
Building ARM 32bit with the cross compiler arm-linux-gnueabihf-gcc with the parameters GOOS=android GOARCH=arm GOARM=7 CC=arm-linux-gnueabihf-gcc CGO_ENABLED=1 go build -o android_arm GoRAT.go fail with the following error:
# runtime/cgo
gcc_android.c:6:10: fatal error: android/log.h: No such file or directory
#include <android/log.h>
^~~~~~~~~~~~~~~
compilation terminated.
Build paramaters: https://github.com/JustinTimperio/GoRAT/blob/a5835936014831f3e8fadb9557eccb097e61bace/build_payload.sh#L57