| 1 | from autorecon.plugins import ServiceScan |
| 2 | |
| 3 | class SIPVicious(ServiceScan): |
| 4 | |
| 5 | def __init__(self): |
| 6 | super().__init__() |
| 7 | self.name = "SIPVicious" |
| 8 | self.tags = ['default', 'safe', 'sip'] |
| 9 | |
| 10 | def configure(self): |
| 11 | self.match_service_name(['^asterisk', '^sip']) |
| 12 | |
| 13 | def manual(self, service, plugin_was_run): |
| 14 | if service.target.ipversion == 'IPv4': |
| 15 | service.add_manual_command('svwar:', 'svwar -D -m INVITE -p {port} {address}') |
nothing calls this directly
no outgoing calls
no test coverage detected