https://nmap.org/ncat/
viewtopic.php?t=7312
I am create :nc function in my script
Code: Select all
:nc
REM == Set-up netcat debug logging - EXPERIMENTAL ==
start "" /B cmd /C"printf "%~1%~2"|ncat localhost 12345"
GOTO:EOF
Code: Select all
ncat.exe -k -l localhost 12345
Code: Select all
call :nc <echoed_text> [\n]