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

Method check

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

Source from the content-addressed store, hash-verified

12 self.match_service_name('^redis$')
13
14 def check(self):
15 if which('redis-cli') is None:
16 self.error('The redis-cli program could not be found. Make sure it is installed. (On Kali, run: sudo apt install redis-tools)')
17 return False
18
19 async def run(self, service):
20 if which('redis-cli') is not None:

Callers

nothing calls this directly

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected