netcat nc

 

 

root@4c83d500b893:/# netcat  -l -p 6000
GET / HTTP/1.1
User-Agent: Wget/1.19.4 (linux-gnu)
Accept: */*
Accept-Encoding: identity
Host: 172.17.0.4:6000
Connection: Keep-Alive

root@4c83d500b893:/# netcat  -l -p 6000


hello

 

root@PORT:~# telnet 172.17.0.4  6000
Trying 172.17.0.4...
Connected to 172.17.0.4.
Escape character is '^]'.


hello

 

posted on 2020-12-11 10:40  tycoon3  阅读(108)  评论(0编辑  收藏  举报

导航