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

Method configure

autorecon/default-plugins/enum4linux.py:11–16  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9 self.tags = ['default', 'safe', 'active-directory']
10
11 def configure(self):
12 self.add_choice_option('tool', default=('enum4linux-ng' if which('enum4linux-ng') else 'enum4linux'), choices=['enum4linux-ng', 'enum4linux'], help='The tool to use for doing Windows and Samba enumeration. Default: %(default)s')
13 self.match_service_name(['^ldap', '^smb', '^microsoft\-ds', '^netbios'])
14 self.match_port('tcp', [139, 389, 445])
15 self.match_port('udp', 137)
16 self.run_once(True)
17
18 def check(self):
19 tool = self.get_option('tool')

Callers

nothing calls this directly

Calls 4

add_choice_optionMethod · 0.80
match_service_nameMethod · 0.80
match_portMethod · 0.80
run_onceMethod · 0.80

Tested by

no test coverage detected