This website requires JavaScript.
Explore
Help
Sign In
public-mirrors
/
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
synced
2025-11-01 17:29:13 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
db1d79a87f28e55e55b9595b1764f3f6ad8f171c
GTFOBins.github.io
/
_gtfobins
/
history.md
Roman Mueller
db1d79a87f
Fix description line
2018-09-01 13:02:33 +02:00
656 B
Raw
Blame
History
functions
functions
file-write
file-read
sudo-enabled
description
Resulting file will contain additional timestamp lines in the format of `#1535795174` for each data line.
code
LFILE=file_to_write HISTIGNORE='history *' history -c DATA history -w $LFILE
description
The file content will be surrounded by your current bash history session content.
code
LFILE=file_to_read HISTTIMEFORMAT=$'\r\e[K' history -r $LFILE history
code
LFILE=file_to_read sudo bash -c "HISTTIMEFORMAT=$'\r\e[K' && history -r $LFILE && history"
Reference in New Issue
View Git Blame
Copy Permalink