{"record":{"id":"1ae27bff5591ed41","repo":"sqlmapproject/sqlmap","slug":"remote-host-address-is-missing","errorCode":null,"errorMessage":"remote host address is missing","messagePattern":"remote host address is missing","errorType":"exception","errorClass":"SqlmapDataException","httpStatus":null,"severity":"error","filePath":"lib/takeover/icmpsh.py","lineNumber":48,"sourceCode":"    def _initVars(self):\n        self.lhostStr = None\n        self.rhostStr = None\n        self.localIP = getLocalIP()\n        self.remoteIP = getRemoteIP() or conf.hostname\n        self._icmpslave = normalizePath(os.path.join(paths.SQLMAP_EXTRAS_PATH, \"icmpsh\", \"icmpsh.exe_\"))\n\n    def _selectRhost(self):\n        address = None\n        message = \"what is the back-end DBMS address? \"\n\n        if self.remoteIP:\n            message += \"[Enter for '%s' (detected)] \" % self.remoteIP\n\n        while not address:\n            address = readInput(message, default=self.remoteIP)\n\n            if conf.batch and not address:\n                raise SqlmapDataException(\"remote host address is missing\")\n\n        return address\n\n    def _selectLhost(self):\n        address = None\n        message = \"what is the local address? \"\n\n        if self.localIP:\n            message += \"[Enter for '%s' (detected)] \" % self.localIP\n\n        valid = None\n        while not valid:\n            valid = True\n            address = readInput(message, default=self.localIP or \"\")\n\n            try:\n                socket.inet_aton(address)\n            except socket.error:","sourceCodeStart":30,"sourceCodeEnd":66,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/takeover/icmpsh.py#L30-L66","documentation":"Error \"remote host address is missing\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at lib/takeover/icmpsh.py:48 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0a35b20e3953d341be6c7ac75ccb0b3362540c8d","analyzedAt":"2026-08-26T23:02:52.002Z","schemaVersion":2},"datasetVersion":"2026-08-27T03:17:27.898Z"}