| 1 | from autorecon.plugins import ServiceScan |
| 2 | |
| 3 | class RsyncList(ServiceScan): |
| 4 | |
| 5 | def __init__(self): |
| 6 | super().__init__() |
| 7 | self.name = 'Rsync List Files' |
| 8 | self.tags = ['default', 'safe', 'rsync'] |
| 9 | |
| 10 | def configure(self): |
| 11 | self.match_service_name('^rsync') |
| 12 | |
| 13 | async def run(self, service): |
| 14 | await service.execute('rsync -av --list-only rsync://{addressv6}:{port}', outfile='{protocol}_{port}_rsync_file_list.txt') |
nothing calls this directly
no outgoing calls
no test coverage detected