shell bypass 403

Iwafut Security Shell

: /lib/systemd/system-shutdown/ [ drwxr-xr-x ]

name : fwupd.shutdown
#!/usr/bin/sh

# no history database exists
[ -f /var/lib/fwupd/pending.db ] || exit 0

# activate firmware when we have a read-only filesystem
if ! /usr/bin/fwupdtool activate; then
    ret=$?
    [ "$ret" -eq "2" ] && exit 0
    exit $ret
fi

© 2026 Iwafut Security