Files
vigil/uninstall.sh
sssnake cf00838b6d Initial release: Vigil Anti-Surveillance Shield v0.1.0
KernelSU-Next/Magisk/APatch module providing:
- Threat scanner with 11,000+ IOCs (stalkerware, Pegasus, government spyware)
- FrostGuard file integrity monitor (pseudo-locked-bootloader)
- Encryption key wiper / BFU mode transition
- Forensic Shield (anti-Cellebrite with 71 known binary hashes)
- Silent SMS detection (Type-0, Class-0, WAP Push)
- Network monitor with C2/tracker domain and IP blocking
- vigild daemon with periodic scanning and alert management
- Full CLI interface
2026-03-31 03:09:00 -07:00

22 lines
480 B
Bash
Executable File

#!/system/bin/sh
# Vigil — Uninstall cleanup
VIGIL_DATA="/data/adb/vigil"
# Stop daemon
if [ -f "$VIGIL_DATA/vigild.pid" ]; then
kill $(cat "$VIGIL_DATA/vigild.pid") 2>/dev/null
fi
# Remove bind mount
umount /system/bin/vigil 2>/dev/null
# Remove CLI wrapper
rm -f /data/local/tmp/vigil
# Ask user about data retention via prop
# If user set vigil.keep_data=1 before uninstall, preserve data
if [ "$(getprop vigil.keep_data)" != "1" ]; then
rm -rf "$VIGIL_DATA"
fi