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

Method run

autorecon/default-plugins/onesixtyone.py:16–18  ·  view source on GitHub ↗
(self, service)

Source from the content-addressed store, hash-verified

14 self.add_option('community-strings', default='/usr/share/seclists/Discovery/SNMP/common-snmp-community-strings-onesixtyone.txt', help='The file containing a list of community strings to try. Default: %(default)s')
15
16 async def run(self, service):
17 if service.target.ipversion == 'IPv4':
18 await service.execute('onesixtyone -c ' + self.get_option('community-strings') + ' -dd {address} 2>&1', outfile='{protocol}_{port}_snmp_onesixtyone.txt')

Callers

nothing calls this directly

Calls 2

get_optionMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected