Nmap Development mailing list archives

Ncat Lua and SSL


From: SzW <not () all pl>
Date: Fri, 04 Mar 2016 09:15:38 +0100

Hi everyone!

I tried the Lua scripting with Ncat over SSL.
(Windows 7/Ncat 7.01)

While this works OK:
ncat --lua-exec bing.lua www.bing.com 80

that one:
ncat --lua-exec bing.lua --ssl www.bing.com 443
breaks just after the server response.


=== bing.lua ===
print "HEAD /index.html HTTP/1.1"
print "Host: www.bing.com"
print ""

repeat
 l=io.stdin:read("*line")
until l == "Vary: Accept-Encoding"

-- just a check mark
print "stop"
=== bing.lua===


_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: