Nmap Development mailing list archives
Re: Ncat Lua and SSL
From: Daniel Miller <bonsaiviking () gmail com>
Date: Tue, 8 Mar 2016 12:20:30 -0600
Hello, Thanks for the bug report. I tried to reproduce the problem, and I don't see any different behavior between the two. It's possible that your version of OpenSSL is unable to handshake properly with Bing's servers. Try adding -vvv to your command to get debugging info about the connection. Dan On Fri, Mar 4, 2016 at 2:15 AM, SzW <not () all pl> wrote:
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/
_______________________________________________ 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)
