+bash history abuse
This commit is contained in:
parent
2333200d2b
commit
3212ee424c
Misc./bash_history_abuse
4
Misc./bash_history_abuse/abuser_helper
Normal file
4
Misc./bash_history_abuse/abuser_helper
Normal file
@ -0,0 +1,4 @@
|
||||
rm .bash_history
|
||||
cbash -i < history_abuser.sh
|
||||
|
||||
# HISTTIMEFORMAT='%y/%m/%d %T: '
|
19
Misc./bash_history_abuse/history_abuser.sh
Normal file
19
Misc./bash_history_abuse/history_abuser.sh
Normal file
@ -0,0 +1,19 @@
|
||||
# below me is not a comment
|
||||
echo test
|
||||
HISTTIMEFORMAT='%y/%m/%d %T: '
|
||||
#1700000000
|
||||
echo test
|
||||
for i in *; do
|
||||
echo "a"
|
||||
done
|
||||
for i in *; do # harder
|
||||
echo "ouch"
|
||||
done
|
||||
shopt -s lithist
|
||||
for i in *; do
|
||||
echo "ouch"
|
||||
done
|
||||
for i in *; do
|
||||
#1700000000
|
||||
echo "ouch"
|
||||
done
|
Loading…
x
Reference in New Issue
Block a user