From c64932099b02e8603967730aa7930611d1d26dca Mon Sep 17 00:00:00 2001 From: ayakashi Date: Mon, 13 Jun 2016 11:54:36 +0800 Subject: [PATCH] Update nc.md --- pages/common/nc.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/common/nc.md b/pages/common/nc.md index bb65a02338..6f8994e875 100644 --- a/pages/common/nc.md +++ b/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 }}`