2012-04-08 10 views

Trả lời

38
  1. Cài đặt netcat khác bằng cách sử dụng synaptic. (Để làm điều này, các kho vũ trụ phải được bật.)

  2. loại sudo update-alternatives --config nc

  3. Chọn tùy chọn /bin/nc.traditional

  4. loại nc -h

đầu ra:

[v1.10-38] 
connect to somewhere: nc [-options] hostname port[s] [ports] ... 
listen for inbound: nc -l -p port [-options] [hostname] [port] 
options: 
    -c shell commands as `-e'; use /bin/sh to exec [dangerous!!] 
    -e filename  program to exec after connect [dangerous!!] 
... 
+0

Lưu ý: ste p 1 'sudo apt-get cài đặt netcat' – user153882