(self)
| 42 | @property |
| 43 | def base_url(self) -> str: |
| 44 | protocol = "https" if self.ssl else "http" |
| 45 | return f"{protocol}://{self.host}:{self.port}/api" |
| 46 | |
| 47 | async def connect(self) -> bool: |
| 48 | """Connect and authenticate to Metasploit RPC.""" |
| 49 | try: |
nothing calls this directly
no outgoing calls
no test coverage detected