mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-28 06:12:43 +01:00
Use HISTIGNORE instead of HISTCONTROL
This commit is contained in:
parent
1246bbc17f
commit
dded97652b
@ -5,10 +5,10 @@ functions:
|
||||
Resulting file will contain additional timestamp lines in the format of `#1535795174` for each data line.
|
||||
- code: |
|
||||
LFILE=file_to_write
|
||||
HISTCONTROL=ignorespace
|
||||
HISTIGNORE='history *'
|
||||
history -c
|
||||
DATA
|
||||
history -w $LFILE
|
||||
history -w $LFILE
|
||||
file-read:
|
||||
- description: The file content will be surrounded by your current bash history session content.
|
||||
- code: |
|
||||
|
Loading…
Reference in New Issue
Block a user