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

Class Showmount

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

Source from the content-addressed store, hash-verified

1from autorecon.plugins import ServiceScan
2
3class Showmount(ServiceScan):
4
5 def __init__(self):
6 super().__init__()
7 self.name = "showmount"
8 self.tags = ['default', 'safe', 'nfs']
9
10 def configure(self):
11 self.match_service_name(['^nfs', '^rpcbind'])
12
13 async def run(self, service):
14 await service.execute('showmount -e {address} 2>&1', outfile='{protocol}_{port}_showmount.txt')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected