msf5 > use auxiliary/scanner/oracle/tnspoison_checker msf5 auxiliary(scanner/oracle/tnspoison_checker) > set rhosts 192.168.168.177 rhosts => 192.168.168.177
查看配置选项
1 2 3 4 5 6 7 8
msf5 auxiliary(scanner/oracle/tnspoison_checker) > show options Module options (auxiliary/scanner/oracle/tnspoison_checker):
Name Current Setting Required Description ---- --------------- -------- ----------- RHOSTS 192.168.168.177 yes The target address range or CIDR identifier RPORT 1521 yes The target port (TCP) THREADS 1 yes The number of concurrent threads
进行漏洞扫描
1 2 3 4
msf5 auxiliary(scanner/oracle/tnspoison_checker) > run [+] 192.168.168.177:1521 - 192.168.168.177:1521 is vulnerable [*] 192.168.168.177:1521 - Scanned 1 of 1 hosts (100% complete) [*] Auxiliary module execution completed
msf5 auxiliary(scanner/oracle/tnspoison_checker) > use auxiliary/admin/oracle/tnscmd msf5 auxiliary(admin/oracle/tnscmd) > set rhosts 192.168.168.177 rhosts => 192.168.168.177 msf5 auxiliary(admin/oracle/tnscmd) > show options Module options (auxiliary/admin/oracle/tnscmd):
Name Current Setting Required Description ---- --------------- -------- ----------- CMD (CONNECT_DATA=(COMMAND=VERSION)) no Something like ping, version, status, etc.. RHOSTS 192.168.168.177 yes The target address range or CIDR identifier RPORT 1521 yes The target port (TCP)
msf5 auxiliary(admin/oracle/tnscmd) > run [*] Running module against 192.168.168.177
Name Current Setting Required Description ---- --------------- -------- ----------- RHOSTS 192.168.168.177 yes The target address range or CIDR identifier RPORT 1521 yes The target port (TCP) THREADS 1 yes The number of concurrent threads
msf5 auxiliary(scanner/oracle/tnspoison_checker) > run
[-] 192.168.168.177:1521 - 192.168.168.177:1521 is not vulnerable [*] 192.168.168.177:1521 - Scanned 1 of 1 hosts (100% complete) [*] Auxiliary module execution completed