How to use NetCat for Windows to send a binary file to a TCP connection? -
if want transfer binary file "binary.bin" (located in same directory netcat) ip address 127.0.0.1 port 1200 using tcp, how specify using netcat windows?
i found solution. its
nc 127.0.0.1 1200 < binary.bin
in addition, if response needs saved
nc 127.0.0.1 1200 < binary.bin > response.bin
Comments
Post a Comment