Exploit database

GH-a66fde1454cccf9b5acb1925ac42ced4

gitamans/zygoteexploitdemo

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2024-31317

15 sources

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

Repository files5
gitamans/zygoteexploitdemoRevision 56d1e3271581

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

scripts/install_all_apps.sh

Shell · 1,463 bytes
cat > install_all_apps.sh << 'EOF'
#!/bin/bash

echo "========================================="
echo "📲 Installing All Apps on Emulator"
echo "========================================="

GREEN='\033[0;32m'
RED='\033[0;31m'
YELLOW='\033[1;33m'
NC='\033[0m'

# Check if emulator is running
DEVICES=$(adb devices | grep "emulator" | grep "device" | wc -l)
if [ $DEVICES -eq 0 ]; then
    echo -e "${RED}❌ No emulator running. Please start emulator first.${NC}"
    exit 1
fi

echo -e "${YELLOW}Found running emulator. Installing apps...${NC}"

cd ~/AndroidSecurityLab/apps

# Install SecureChat
echo -e "${YELLOW}Installing SecureChat...${NC}"
adb install -r SecureChat/app/build/outputs/apk/debug/app-debug.apk
if [ $? -eq 0 ]; then
    echo -e "${GREEN}✅ SecureChat installed${NC}"
fi

# Install FlashlightPro
echo -e "${YELLOW}Installing FlashlightPro...${NC}"
adb install -r FlashlightPro/app/build/outputs/apk/debug/app-debug.apk
if [ $? -eq 0 ]; then
    echo -e "${GREEN}✅ FlashlightPro installed${NC}"
fi

# Install MonitorService
echo -e "${YELLOW}Installing MonitorService...${NC}"
adb install -r MonitorService/app/build/outputs/apk/debug/app-debug.apk
if [ $? -eq 0 ]; then
    echo -e "${GREEN}✅ MonitorService installed${NC}"
fi

echo -e "${GREEN}=========================================${NC}"
echo -e "${GREEN}✅ All apps installed!${NC}"
echo -e "${GREEN}=========================================${NC}"
EOF

chmod +x install_all_apps.sh