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

Class NmapDistccd

autorecon/default-plugins/nmap-distccd.py:3–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from autorecon.plugins import ServiceScan
2
3class NmapDistccd(ServiceScan):
4
5 def __init__(self):
6 super().__init__()
7 self.name = "Nmap distccd"
8 self.tags = ['default', 'safe', 'distccd']
9
10 def configure(self):
11 self.match_service_name('^distccd')
12
13 async def run(self, service):
14 await service.execute('nmap {nmap_extra} -sV -p {port} --script="banner,distcc-cve2004-2687" --script-args="distcc-cve2004-2687.cmd=id" -oN "{scandir}/{protocol}_{port}_distcc_nmap.txt" -oX "{scandir}/xml/{protocol}_{port}_distcc_nmap.xml" {address}')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected