(self)
| 16 | self.run_once(True) |
| 17 | |
| 18 | def check(self): |
| 19 | tool = self.get_option('tool') |
| 20 | if tool == 'enum4linux' and which('enum4linux') is None: |
| 21 | self.error('The enum4linux program could not be found. Make sure it is installed. (On Kali, run: sudo apt install enum4linux)') |
| 22 | return False |
| 23 | elif tool == 'enum4linux-ng' and which('enum4linux-ng') is None: |
| 24 | self.error('The enum4linux-ng program could not be found. Make sure it is installed. (https://github.com/cddmp/enum4linux-ng)') |
| 25 | return False |
| 26 | |
| 27 | async def run(self, service): |
| 28 | if service.target.ipversion == 'IPv4': |
nothing calls this directly
no test coverage detected