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

Method run

autorecon/default-plugins/enum4linux.py:27–34  ·  view source on GitHub ↗
(self, service)

Source from the content-addressed store, hash-verified

25 return False
26
27 async def run(self, service):
28 if service.target.ipversion == 'IPv4':
29 tool = self.get_option('tool')
30 if tool is not None:
31 if tool == 'enum4linux':
32 await service.execute('enum4linux -a -M -l -d {address} 2>&1', outfile='enum4linux.txt')
33 elif tool == 'enum4linux-ng':
34 await service.execute('enum4linux-ng -A -d -v {address} 2>&1', outfile='enum4linux-ng.txt')

Callers

nothing calls this directly

Calls 2

get_optionMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected