MCPcopy Create free account
hub / github.com/AutoRecon/AutoRecon / run

Method run

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

Source from the content-addressed store, hash-verified

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:', [

Callers

nothing calls this directly

Calls 1

fformatFunction · 0.90

Tested by

no test coverage detected