(self)
| 8 | self.tags = ['default', 'safe', 'http'] |
| 9 | |
| 10 | def configure(self): |
| 11 | self.match_service_name('^http') |
| 12 | self.match_service_name('^nacn_http$', negative_match=True) |
| 13 | self.add_pattern('Server: ([^\n]+)', description='Identified HTTP Server: {match1}') |
| 14 | self.add_pattern('WebDAV is ENABLED', description='WebDAV is enabled') |
| 15 | |
| 16 | async def run(self, service): |
| 17 | await service.execute('nmap {nmap_extra} -sV -p {port} --script="banner,(http* or ssl*) and not (brute or broadcast or dos or external or http-slowloris* or fuzzer)" -oN "{scandir}/{protocol}_{port}_{http_scheme}_nmap.txt" -oX "{scandir}/xml/{protocol}_{port}_{http_scheme}_nmap.xml" {address}') |
nothing calls this directly
no test coverage detected