MCPcopy Index your code
hub / github.com/AutoRecon/AutoRecon / check

Method check

autorecon/default-plugins/oracle-scanner.py:14–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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 1

errorMethod · 0.45

Tested by

no test coverage detected