Initial commit — FlipperDroid v0.1.0-poc
KernelSU module + Flipper Zero FAP that bridges both devices into a unified pentesting platform over USB CDC serial / BT rfcomm. Android side: bridge daemon, WebUI (:8089), bind mount namespace isolation stealth engine. Flipper side: proper FAP with 4-view GUI, GPIO/SubGHz/IR/file command handlers, async event streaming.
This commit is contained in:
21
uninstall.sh
Normal file
21
uninstall.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/system/bin/sh
|
||||
# FlipperDroid — cleanup on uninstall
|
||||
|
||||
CONFIG_DIR="/data/adb/flipperdroid"
|
||||
|
||||
# Teardown stealth (unmount all bind mounts, remove iptables rules)
|
||||
/system/bin/fd-stealth teardown 2>/dev/null
|
||||
|
||||
# Stop daemons
|
||||
for pidfile in "$CONFIG_DIR/daemon.pid" "$CONFIG_DIR/bridge.pid" \
|
||||
"$CONFIG_DIR/monitor.pid" "$CONFIG_DIR/listener.pid"; do
|
||||
if [ -f "$pidfile" ]; then
|
||||
kill $(cat "$pidfile") 2>/dev/null
|
||||
fi
|
||||
done
|
||||
|
||||
# Release rfcomm if bound
|
||||
rfcomm release 0 2>/dev/null
|
||||
|
||||
# Remove persistent config
|
||||
rm -rf "$CONFIG_DIR"
|
||||
Reference in New Issue
Block a user