Description
TNScmd10g is a tool to prod the oracle tnslsnr process on port 1521/tcp. its
Usage
Syntax
tnscmd 10g [command] -h hostname
where ‘command’ is something like ping, version, status, etc. (default is ping)
Options
-
[-p port] - alternate TCP port to use (default is 1521) [--logfile logfile] - write raw packets to specified logfile [--indent] - indent & outdent on parens [--10G] - make it work against 10G [--rawcmd command] - build your own CONNECT_DATA string [--cmdsize bytes] - fake TNS command size (reveals packet leakage)
Example
cyborg@cyborg:~$ tnscmd10g version -h 192.168.1.18 sending (CONNECT_DATA=(COMMAND=version)) to 192.168.1.18:1521 writing 90 bytes reading