(self)
| 18 | deps_apt = ["curl"] |
| 19 | |
| 20 | async def setup(self): |
| 21 | self.subdomain_tags = {} |
| 22 | if self.scan.config.get("interactsh_disable", False) is False: |
| 23 | try: |
| 24 | self.interactsh_instance = self.helpers.interactsh() |
| 25 | self.domain = await self.interactsh_instance.register(callback=self.interactsh_callback) |
| 26 | except InteractshError as e: |
| 27 | self.warning(f"Interactsh failure: {e}") |
| 28 | return False |
| 29 | else: |
| 30 | self.warning("Interactsh is disabled globally. Interaction based detections will be disabled.") |
| 31 | self.domain = f"{self.rand_string(12, digits=False)}.com" |
| 32 | return True |
| 33 | |
| 34 | def rand_string(self, *args, **kwargs): |
| 35 | return self.helpers.rand_string(*args, **kwargs) |
nothing calls this directly
no test coverage detected