| 1 | from autorecon.plugins import ServiceScan |
| 2 | |
| 3 | class NmapIrc(ServiceScan): |
| 4 | |
| 5 | def __init__(self): |
| 6 | super().__init__() |
| 7 | self.name = 'Nmap IRC' |
| 8 | self.tags = ['default', 'safe', 'irc'] |
| 9 | |
| 10 | def configure(self): |
| 11 | self.match_service_name('^irc') |
| 12 | |
| 13 | async def run(self, service): |
| 14 | await service.execute('nmap {nmap_extra} -sV --script irc-botnet-channels,irc-info,irc-unrealircd-backdoor -oN "{scandir}/{protocol}_{port}_irc_nmap.txt" -oX "{scandir}/xml/{protocol}_{port}_irc_nmap.xml" -p {port} {address}') |
nothing calls this directly
no outgoing calls
no test coverage detected