This website requires JavaScript.
Explore
Help
Register
Sign In
daffainfo
/
GTFOBins.github.io
mirror of
https://github.com/daffainfo/GTFOBins.github.io.git
Watch
1
Star
0
Fork
You've already forked GTFOBins.github.io
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
01042c2aa1
GTFOBins.github.io
/
_gtfobins
/
openvt.md
295 B
Raw
Blame
History
functions
sudo
description
code
The command execution is blind (displayed on the virtual console), but it is possible to save the output on a temporary file.
COMMAND=id TF=$(mktemp -u) sudo openvt -- sh -c "$COMMAND >$TF 2>&1" cat $TF