Nmap Development mailing list archives
Re: [SCRIPT] DB2 Information gathering script
From: Matt Selsky <selsky () columbia edu>
Date: Mon, 9 Nov 2009 09:51:39 -0500
On Nov 8, 2009, at 10:28 PM, Tom Sellers wrote:
I have written a NSE script that enhances version detection for DB2. It also gathers platform (OS) and database instance information. It functions in a similarway to the MS SQL script.
Here's the output for my DB2 server on Solaris: $ nmap -sV -p50000 spinach Starting Nmap 5.05BETA1 ( http://nmap.org ) at 2009-11-09 09:44 EST Interesting ports on spinach (192.168.1.233): PORT STATE SERVICE VERSION 50000/tcp open ibm-db2 IBM DB2 Database Server 7.02.4 Service Info: OS: SUNService detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 11.30 seconds $ NMAPDIR=. nmap -sV -p50000 --script=db2-info spinach Starting Nmap 5.05BETA1 ( http://nmap.org ) at 2009-11-09 09:47 EST NSE: Script Scanning completed. Interesting ports on spinach (192.168.1.233): PORT STATE SERVICE VERSION 50000/tcp open ibm-db2 IBM DB2 Database Server DB2 UDB 7.2 (QDB2/SUN) | db2-info: DB2 Version: DB2 UDB 7.2 | Server Platform: QDB2/SUN | Instance Name: db2inst1 |_ External Name: db2inst1db2agent000052FF Service Info: OS: SUNService detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 11.68 secondsWhy does the version with script scanning have a less precise version number? (7.02.4 vs 7.2)
-- Matt _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- [SCRIPT] DB2 Information gathering script Tom Sellers (Nov 08)
- Re: [SCRIPT] DB2 Information gathering script Matt Selsky (Nov 09)
- Re: [SCRIPT] DB2 Information gathering script Tom Sellers (Nov 09)
- Re: [SCRIPT] DB2 Information gathering script - New version of the script Tom Sellers (Nov 10)
- Re: [SCRIPT] DB2 Information gathering script - New version of the script David Fifield (Nov 11)
- Re: [SCRIPT] DB2 Information gathering script - New version of the script Tom Sellers (Nov 11)
- Re: [SCRIPT] DB2 Information gathering script - New version of the script Matt Selsky (Nov 11)
- Re: [SCRIPT] DB2 Information gathering script Matt Selsky (Nov 09)
- Re: [SCRIPT] DB2 Information gathering script Ron (Nov 09)
- Re: [SCRIPT] DB2 Information gathering script doug (Nov 09)
- Re: [SCRIPT] DB2 Information gathering script Fyodor (Nov 09)