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

Method configure

autorecon/default-plugins/smbclient.py:10–13  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8 self.tags = ['default', 'safe', 'smb', 'active-directory']
9
10 def configure(self):
11 self.match_service_name(['^smb', '^microsoft\-ds', '^netbios'])
12 self.match_port('tcp', [139, 445])
13 self.run_once(True)
14
15 async def run(self, service):
16 await service.execute('smbclient -L //{address} -N -I {address} 2>&1', outfile='smbclient.txt')

Callers

nothing calls this directly

Calls 3

match_service_nameMethod · 0.80
match_portMethod · 0.80
run_onceMethod · 0.80

Tested by

no test coverage detected