1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-08 06:56:15 +01:00
GTFOBins.github.io/_gtfobins/opencode
Andrea Cardaci 869f965b28 Add back sqlite3 inherit
As discussed in #566.

Co-Authored-By: Li Hua <lihua@email.com>
2026-03-03 23:08:20 +01:00

22 lines
375 B
Plaintext

---
functions:
command:
- code: |-
opencode
! /path/to/command
contexts:
sudo:
suid:
shell: true
unprivileged:
inherit:
- code: |-
opencode db '...'
comment: |-
This allows to run SQLite queries (`...`) provided that `sqlite3` is installed.
contexts:
sudo:
unprivileged:
from: sqlite3
...