diff --git a/pages/common/nc.md b/pages/common/nc.md index bb65a0233..6f8994e87 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 }}`