(self)
| 264 | return self._skeletonSelection(connStr, maxValue=65535, default=randomRange(1025, 65535)) |
| 265 | |
| 266 | def _selectRhost(self): |
| 267 | if self.connectionStr.startswith("bind"): |
| 268 | message = "what is the back-end DBMS address? [Enter for '%s' (detected)] " % self.remoteIP |
| 269 | address = readInput(message, default=self.remoteIP) |
| 270 | |
| 271 | if not address: |
| 272 | address = self.remoteIP |
| 273 | |
| 274 | return address |
| 275 | |
| 276 | elif self.connectionStr.startswith("reverse"): |
| 277 | return None |
| 278 | |
| 279 | else: |
| 280 | raise SqlmapDataException("unexpected connection type") |
| 281 | |
| 282 | def _selectLhost(self): |
| 283 | if self.connectionStr.startswith("reverse"): |
no test coverage detected