(self, service)
| 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') |
nothing calls this directly
no test coverage detected