MCPcopy Create free account
hub / github.com/AutoRecon/AutoRecon / OracleScanner

Class OracleScanner

autorecon/default-plugins/oracle-scanner.py:4–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2from shutil import which
3
4class OracleScanner(ServiceScan):
5
6 def __init__(self):
7 super().__init__()
8 self.name = "Oracle Scanner"
9 self.tags = ['default', 'safe', 'databases']
10
11 def configure(self):
12 self.match_service_name('^oracle')
13
14 def check(self):
15 if which('oscanner') is None:
16 self.error('The oscanner program could not be found. Make sure it is installed. (On Kali, run: sudo apt install oscanner)')
17 return False
18
19 async def run(self, service):
20 await service.execute('oscanner -v -s {address} -P {port} 2>&1', outfile='{protocol}_{port}_oracle_scanner.txt')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected