Exploit database

GH-deef03bf1ced2582dbad93aa070b873a

dorlow/hazel-cve-2026-43499

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-43499

168 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files5
dorlow/hazel-cve-2026-43499Revision 7a214fc6e53f

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

tools/device_scripts/set_projectivy_launcher.sh

Shell · 2,049 bytes
#!/system/bin/sh

PROJECTIVY_PACKAGE='com.spocky.projengmenu'
PROJECTIVY_HOME='com.spocky.projengmenu/.ui.home.MainActivity'
AMAZON_LAUNCHER='com.amazon.tv.launcher'
AMAZON_STARTER='com.amazon.firehomestarter'
AMAZON_HOME='com.amazon.tv.launcher/.ui.HomeActivity_vNext'

pm_cmd() {
    /system/bin/cmd package "$@"
}

rollback() {
    echo 'Restoring the Amazon launcher after a failed verification...' >&2
    pm_cmd enable --user 0 "${AMAZON_LAUNCHER}" >/dev/null 2>&1
    pm_cmd enable --user 0 "${AMAZON_STARTER}" >/dev/null 2>&1
    pm_cmd set-home-activity --user 0 "${AMAZON_HOME}" >/dev/null 2>&1
    /system/bin/am start -n "${AMAZON_HOME}" >/dev/null 2>&1
    sync
}

if ! pm_cmd list packages "${PROJECTIVY_PACKAGE}" |
        /system/bin/toybox grep -Fqx "package:${PROJECTIVY_PACKAGE}"; then
    echo "ERROR: ${PROJECTIVY_PACKAGE} is not installed." >&2
    exit 1
fi

pm_cmd enable --user 0 "${PROJECTIVY_PACKAGE}" || exit 1

echo 'Testing Projectivy...'
if ! /system/bin/am start -W -n "${PROJECTIVY_HOME}" >/dev/null; then
    echo 'ERROR: Projectivy did not launch.' >&2
    exit 1
fi

echo 'Selecting Projectivy as HOME...'
if ! pm_cmd set-home-activity --user 0 "${PROJECTIVY_HOME}"; then
    echo 'ERROR: Package Manager refused the HOME preference.' >&2
    exit 1
fi

echo 'Disabling Amazon HomeStarter...'
if ! pm_cmd disable-user --user 0 "${AMAZON_STARTER}"; then
    rollback
    exit 1
fi

echo 'Disabling the Amazon launcher...'
if ! pm_cmd disable-user --user 0 "${AMAZON_LAUNCHER}"; then
    rollback
    exit 1
fi

resolved="$(pm_cmd resolve-activity --brief \
    -a android.intent.action.MAIN -c android.intent.category.HOME | tail -n 1)"
if [ "${resolved}" != "${PROJECTIVY_HOME}" ]; then
    echo "ERROR: HOME resolves to ${resolved}, not Projectivy." >&2
    rollback
    exit 1
fi

/system/bin/am start -a android.intent.action.MAIN \
    -c android.intent.category.HOME >/dev/null 2>&1
sync

echo "VERIFIED HOME: ${resolved}"
echo 'Amazon launcher and HomeStarter are disabled. The TV was not rebooted.'
exit 0