From 9020e7763399ba24863faffddb1df28881b50210 Mon Sep 17 00:00:00 2001 From: fyodor Date: Thu, 12 Jun 2014 09:36:03 +0000 Subject: [PATCH] fix some XML syntax errors (some attempted closing tags were missing the slash they are supposed to start with) --- ncat/docs/ncatguide.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ncat/docs/ncatguide.xml b/ncat/docs/ncatguide.xml index 73f1f2e40..d23d42403 100644 --- a/ncat/docs/ncatguide.xml +++ b/ncat/docs/ncatguide.xml @@ -1467,11 +1467,11 @@ Hello. This short message is being sent by Ncat. Continuing the example from , we can create a simple HTTP server that serves the - index.html file using the following command: + index.html file using the following command: -nc -lk -p 8080 --sh-exec "echo -e 'HTTP/1.1 200 OK\r\n'; cat index.html" +nc -lk -p 8080 --sh-exec "echo -e 'HTTP/1.1 200 OK\r\n'; cat index.html" @@ -1508,7 +1508,7 @@ https://svn.nmap.org/nmap-exp/d33tah/lua-exec-examples/ncat/scripts/httpd.lua Once you have downloaded it, simply run Ncat in listening mode. Assuming that your working directory contains the httpd.lua script, simply run: - + ncat --lua-exec httpd.lua --listen 8080 --keep-open