| 13 | self.match_service('tcp', [5985, 5986], '^http') |
| 14 | |
| 15 | async def run(self, service): |
| 16 | filename = fformat('{scandir}/{protocol}_{port}_winrm-detection.txt') |
| 17 | with open(filename, mode='wt', encoding='utf8') as winrm: |
| 18 | winrm.write('WinRM was possibly detected running on ' + service.protocol + ' port ' + str(service.port) + '.\nCheck _manual_commands.txt for manual commands you can run against this service.') |
| 19 | |
| 20 | def manual(self, service, plugin_was_run): |
| 21 | service.add_manual_commands('Bruteforce logins:', [ |