tnscmd10g包装说明
一个工具来督促端口1521 / TCP神谕TNSLSNR过程。
- 作者:IA赛斯Scheihing
- 许可:GPL第二版
包含在tnscmd10g包工具
tnscmd10g - 一个工具来督促甲骨文TNSLSNR过程
[email protected]:~# tnscmd10g
usage: /usr/bin/tnscmd10g [command] -h hostname
where 'command' is something like ping, version, status, etc.
(default is ping)
[-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)
tnscmd10g用法示例
检索从目标服务器(-h 192.168.1.205)的版本(版本):
[email protected]:~# tnscmd10g version -h 192.168.1.205
sending (CONNECT_DATA=(COMMAND=version)) to 192.168.1.205:1521
writing 90 bytes
reading
.M.......6.........-. ..........(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=0)).7........TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production..TNS for 32-bit Windows: Version 9.2.0.1.0 - Production..Windows NT Named Pipes NT Protocol Adapter for 32-bit Windows: Version 9.2.0.1.0 - Production..Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 9.2.0.1.0 - Production,,.........@