Nmap Development mailing list archives

[patch] better match for Oracle servers (especially on AIX)


From: Matt Selsky <selsky () columbia edu>
Date: Wed, 18 Nov 2009 03:06:38 -0500

Here's a slight tweak to the oracle match line to better detect Oracle database servers running on AIX.  With the 
patch, output is as follows:

$ ./nmap -sV -p 1521 server

Starting Nmap 5.05BETA1 ( http://nmap.org ) at 2009-11-18 02:54 EST
Nmap scan report for server (192.168.1.150)
Host is up (0.00036s latency).
rDNS record for 192.168.1.150: server
PORT     STATE SERVICE    VERSION
1521/tcp open  oracle-tns Oracle TNS Listener 10.2.0.4.0 (for IBM/AIX RISC System/6000)

Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 6.12 seconds


The patch allows the OS string in the "TNS version" response to be slightly longer.  IBM/AIX RISC... is a mouthful :-)

I don't know if Oracle runs on platforms with longer strings than this AIX one.


-- 
Matt

Attachment: oracle-match.patch
Description:

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

Current thread: