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/facter
2026-01-19 02:02:44 +01:00

21 lines
445 B
Plaintext

---
functions:
inherit:
- code: |-
FACTERLIB=/path/to/dir/ facter
comment: |-
The first `.rb` file in the `/path/to/dir/` directory will be executed.
contexts:
sudo:
unprivileged:
from: ruby
- code: |-
facter --custom-dir=/path/to/dir/ x
comment: |-
The first `.rb` file in the `/path/to/dir/` directory will be executed.
contexts:
sudo:
unprivileged:
from: ruby
...