瀏覽代碼

Merge pull request #910 from gwanii/master

Update nc.md
Leandro Ostera 8 年之前
父節點
當前提交
aa18a00718
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      pages/common/nc.md

+ 8 - 0
pages/common/nc.md

@@ -29,3 +29,11 @@
 - Client stay up after EOF:
 
 `nc -q {{timeout}} {{ip_address}}`
+
+- Port scanning:
+
+`nc -v -z {{ip_address}} {{port}}`
+
+- Proxy and port forwarding:
+
+`nc -l {{ port }} | nc {{ hostname }} {{ port }}`