(self)
| 280 | raise SqlmapDataException("unexpected connection type") |
| 281 | |
| 282 | def _selectLhost(self): |
| 283 | if self.connectionStr.startswith("reverse"): |
| 284 | message = "what is the local address? [Enter for '%s' (detected)] " % self.localIP |
| 285 | address = readInput(message, default=self.localIP) |
| 286 | |
| 287 | if not address: |
| 288 | address = self.localIP |
| 289 | |
| 290 | return address |
| 291 | |
| 292 | elif self.connectionStr.startswith("bind"): |
| 293 | return None |
| 294 | |
| 295 | else: |
| 296 | raise SqlmapDataException("unexpected connection type") |
| 297 | |
| 298 | def _selectConnection(self): |
| 299 | return self._skeletonSelection("connection type", self._msfConnectionsList) |
no test coverage detected