MCPcopy Index your code
hub / github.com/AutoRecon/AutoRecon / configure

Method configure

autorecon/default-plugins/nmap-http.py:10–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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}')

Callers

nothing calls this directly

Calls 2

match_service_nameMethod · 0.80
add_patternMethod · 0.80

Tested by

no test coverage detected