Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
oracle-tns-version: fix connection timeout & improve error code checking #716
PORT STATE SERVICE VERSION
- Fixed `NSE: [oracle-tns-version 192.168.1.2:1251] Couldn't get a response: TIMEOUT`. This happens because Version probe length is shorter than announced to server. - Added `Oracle Error Code Reference` URL. It looks like this: PORT STATE SERVICE VERSION 1521/tcp open oracle-tns Oracle TNS listener 18.104.22.168.0 (error: 1153, see http://psoug.org/oraerror/TNS-01153.htm) - Added a few error codes.
Thanks for this fix! The parser for nmap-service-probes doesn't do octal escapes like Lua does, so the strings had different meanings from one to the other. Applying your fix now.
I don't think we'll include the link to 3rd-party documentation on errors. That kind of thing can be looked up by the user if necessary.