Nmap Development mailing list archives
Re: Ncat Lua and SSL
From: SzW <not () all pl>
Date: Wed, 09 Mar 2016 16:41:20 +0100
Thanks for the bug report. I tried to reproduce the problem, and I don'tsee any different behavior between the two.
Please, try it when:
until l == "Vary: Accept-Encoding"
replaced with:
until l == "foobar"
Also check the exit code of the command.
(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:
- Ncat Lua and SSL SzW (Mar 04)
- Re: Ncat Lua and SSL Daniel Miller (Mar 08)
- <Possible follow-ups>
- Re: Ncat Lua and SSL SzW (Mar 09)