This website requires JavaScript.
Explore
Help
Register
Sign In
mirror
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced
2025-12-31 04:31:40 +01:00
Code
Issues
08dfd05aee
GTFOBins.github.io
/
_gtfobins
/
openvt.md
Andrea Cardaci
717acf4b14
Fix openvt
2021-01-21 14:49:32 +01:00
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