Script informix-query

Script types: portrule
Categories: intrusive, auth
Download: https://svn.nmap.org/nmap/scripts/informix-query.nse

Script Summary

Runs a query against IBM Informix Dynamic Server using the given authentication credentials (see also: informix-brute).

Script Arguments

informix-query.query

The query to run against the server (default: returns hostname and version)

informix-query.username

The username used for authentication

informix-query.database

The name of the database to connect to (default: sysmaster)

informix-query.instance

The name of the instance to connect to

informix-query.password

The password used for authentication

informix.instance

See the documentation for the informix library.

Example Usage

nmap -p 9088 <host> --script informix-query --script-args informix-query.username=informix,informix-query.password=informix

Script Output

PORT     STATE SERVICE
9088/tcp open  unknown syn-ack
| informix-query:
|   Information
|     User: informix
|     Database: sysmaster
|     Query: "SELECT FIRST 1 DBINFO('dbhostname') hostname, DBINFO('version','full') version FROM systables"
|   Results
|     hostname      version
|_    patrik-laptop IBM Informix Dynamic Server Version 11.50.UC4E

Requires


Author:

  • Patrik Karlsson

License: Same as Nmap--See https://nmap.org/book/man-legal.html