Genius - ish-app/ish GitHub Wiki
cat << 'EOF' > /tmp/bbox_scan.sh #!/bin/sh
echo "=== TARGET CONFIGURATION ===" BBOX_PATH=$(which busybox 2>/dev/null || find / -name busybox -type f -print -quit 2>/dev/null) if [ ! -z "$BBOX_PATH" ]; then $BBOX_PATH 2>&1 | head -n 5 else echo "BusyBox binary not found." fi
echo "=== SUID CHECK ===" if [ -u "$BBOX_PATH" ]; then echo "[!] SUID Bit Detected on $BBOX_PATH" else echo "[-] No SUID bit on main binary." fi
echo "=== CURRENT USER UID ===" cat /proc/self/status | grep -E 'Uid|Gid' EOF
chmod +x /tmp/bbox_scan.sh /tmp/bbox_scan.sh