{"title":"netcat\u3067TCP/IP \u30bd\u30b1\u30c3\u30c8\u901a\u4fe1","blog_title":"Bye Bye Moore","author_url":"https://blog.hatena.ne.jp/shuzo_kino/","width":"100%","author_name":"shuzo_kino","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2022%2F01%2F19%2F225817\" title=\"netcat\u3067TCP/IP \u30bd\u30b1\u30c3\u30c8\u901a\u4fe1 - Bye Bye Moore\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://shuzo-kino.hateblo.jp/","published":"2022-01-19 22:58:17","categories":["bash","network"],"provider_url":"https://hatena.blog","description":"bash\u306e\u7279\u6b8a\u69cb\u6587\u306bIP\u3068\u30dd\u30fc\u30c8\u756a\u53f7\u3092\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69d8\u306b\u66f8\u3044\u3066\u5c55\u958b\u3059\u308bdev\u304c\u3042\u308b\u307f\u305f\u3044\u3067\u3059\u304c\u2026\u2026 \u4eca\u56de\u4f5c\u696d\u74b0\u5883\u304cWSL\u304b\u3064\u4eca\u5f8c\u4f55\u306b\u79fb\u690d\u3059\u308b\u304b\u3082\u308f\u304b\u3089\u3093\u306e\u3067netcat\u3092\u4f7f\u3044\u307e\u3057\u305f \u5b9f\u969b\u306e\u3068\u3053\u308d \u53d7\u3051\u624b $ nc -lk localhost 9999 \u9001\u308a\u5074 #!/bin/bash IP=localhost PORT=9999 CMDs=\"aaa\\r\" printf ${e} | nc -w 0 $IP $PORT\u3053\u308c\u3092 $ nc -w0 foobar.bash","provider_name":"Hatena Blog","type":"rich","version":"1.0","url":"https://shuzo-kino.hateblo.jp/entry/2022/01/19/225817","height":"190","image_url":null}