2012-04-08 43 views

回答

38
  1. 使用突觸安裝其他netcat。 (要做到這一點,宇宙倉庫必須啓用。)

  2. sudo update-alternatives --config nc

  3. 選擇選項/bin/nc.traditional

  4. nc -h

輸出:

[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

注意:ste p 1'sudo apt-get install netcat' – user153882 2017-06-20 15:43:09

相關問題