Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
バイナリ ファイル "binary.bin" (NetCat と同じディレクトリにあります) を IP アドレス 127.0.0.1 ポート 1200 に TCP を使用して転送したい場合、NetCat for Windows を使用してこれを指定するにはどうすればよいですか?
解決策を見つけました。これは
nc 127.0.0.1 1200 < binary.bin
さらに、応答を保存する必要がある場合は、
nc 127.0.0.1 1200 < binary.bin > response.bin