summaryrefslogtreecommitdiffstats
path: root/ncat/docs/examples/scripts/http-scan/scan-example
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xncat/docs/examples/scripts/http-scan/scan-example7
1 files changed, 7 insertions, 0 deletions
diff --git a/ncat/docs/examples/scripts/http-scan/scan-example b/ncat/docs/examples/scripts/http-scan/scan-example
new file mode 100755
index 0000000..1fe7f75
--- /dev/null
+++ b/ncat/docs/examples/scripts/http-scan/scan-example
@@ -0,0 +1,7 @@
+NCAT_PATH=../../../..
+if [ -a "$NCAT_PATH/ncat" ]
+ then
+ for addr in `cat iplist`; do $NCAT_PATH/ncat --disable-eof-exit $addr 80 < get.request; done;
+else
+ echo "Ncat is not buit. Please build Ncat before you use these scripts";
+fi