Exploit databaseDownload repository ZIP
GH-9bef17e09542a281205690d3193c0ebe
cyrrp/honor90-ghostlock
Sources for CVE-2026-43499
164 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files4
cyrrp/honor90-ghostlockRevision 2efb6adad005
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
exploit/docker-build.sh
Shell · 2,244 bytes#!/bin/sh
# Build the Honor 80 GT exploit inside a persistent Docker builder
# (keeps the macOS host dependency-free). First run downloads Android NDK
# r29 (~1.2GB) into the container; later runs reuse it.
# The repo root is mounted so the KSU tools (ksu/tools/) are reachable too.
set -eu
container_name="gl-exploit-builder"
project="${PROJECT:-annap-AGT-AN00_8.0.0.128}"
repo_root="$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)"
if docker container inspect "$container_name" >/dev/null 2>&1; then
mounted_src="$(docker inspect -f '{{(index .Mounts 0).Source}}' "$container_name")"
if [ "$mounted_src" != "$repo_root" ]; then
docker rm -f "$container_name" >/dev/null
elif [ "$(docker inspect -f '{{.State.Running}}' "$container_name")" != "true" ]; then
docker start "$container_name" >/dev/null
fi
fi
if ! docker container inspect "$container_name" >/dev/null 2>&1; then
docker run -dit \
--name "$container_name" \
--hostname "$container_name" \
--platform linux/amd64 \
--label "com.cybermeowfia.purpose=exploit-builder" \
--stop-timeout 5 \
--mount "type=bind,src=$repo_root,dst=/work" \
--workdir /work/exploit \
debian:bookworm-slim \
sh -lc '
export DEBIAN_FRONTEND=noninteractive
if [ ! -d /opt/android-ndk ]; then
apt-get update
apt-get install -y --no-install-recommends curl unzip ca-certificates make
curl -fSL -o /tmp/ndk.zip https://dl.google.com/android/repository/android-ndk-r29-linux.zip
mkdir -p /opt
unzip -q /tmp/ndk.zip -d /opt
mv /opt/android-ndk-r29 /opt/android-ndk
rm /tmp/ndk.zip
apt-get clean
fi
exec sleep infinity
'
fi
echo "Waiting for builder to be ready (first run downloads NDK)..."
for i in $(seq 1 240); do
if docker exec "$container_name" test -x /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android35-clang 2>/dev/null; then
break
fi
sleep 5
done
docker exec "$container_name" sh -lc \
"make -C /work/exploit PROJECT=$project NDK_ROOT=/opt/android-ndk $*"