summaryrefslogtreecommitdiffstats
path: root/ncat/docs/examples/scripts/http-proxy
diff options
context:
space:
mode:
Diffstat (limited to 'ncat/docs/examples/scripts/http-proxy')
-rwxr-xr-xncat/docs/examples/scripts/http-proxy5
1 files changed, 5 insertions, 0 deletions
diff --git a/ncat/docs/examples/scripts/http-proxy b/ncat/docs/examples/scripts/http-proxy
new file mode 100755
index 0000000..904c20f
--- /dev/null
+++ b/ncat/docs/examples/scripts/http-proxy
@@ -0,0 +1,5 @@
+NCAT_PATH=../../..
+PROXY_HOST=www.cnn.com:80
+PROXY_AUTH=user:pass
+
+$NCAT_PATH/ncat --http-proxy "$PROXY_HOST" --proxy-auth "$PROXY_AUTH" localhost 3128