mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-08 15:13:16 +03:00
Another minor language patch
This commit is contained in:
parent
41c21ab7f2
commit
51a4cb04a5
|
@ -32,13 +32,13 @@ class ICMPsh:
|
||||||
self._icmpslave = normalizePath(os.path.join(paths.SQLMAP_EXTRAS_PATH, "icmpsh", "icmpsh.exe_"))
|
self._icmpslave = normalizePath(os.path.join(paths.SQLMAP_EXTRAS_PATH, "icmpsh", "icmpsh.exe_"))
|
||||||
|
|
||||||
def _selectRhost(self):
|
def _selectRhost(self):
|
||||||
message = "what is the back-end DBMS address? [%s] " % self.remoteIP
|
message = "what is the back-end DBMS address? [Enter for '%s' (detected)] " % self.remoteIP
|
||||||
address = readInput(message, default=self.remoteIP)
|
address = readInput(message, default=self.remoteIP)
|
||||||
|
|
||||||
return address
|
return address
|
||||||
|
|
||||||
def _selectLhost(self):
|
def _selectLhost(self):
|
||||||
message = "what is the local address? [%s] " % self.localIP
|
message = "what is the local address? [Enter for '%s' (detected)] " % self.localIP
|
||||||
address = readInput(message, default=self.localIP)
|
address = readInput(message, default=self.localIP)
|
||||||
|
|
||||||
return address
|
return address
|
||||||
|
|
|
@ -292,7 +292,7 @@ class Metasploit:
|
||||||
|
|
||||||
def _selectRhost(self):
|
def _selectRhost(self):
|
||||||
if self.connectionStr.startswith("bind"):
|
if self.connectionStr.startswith("bind"):
|
||||||
message = "what is the back-end DBMS address? [%s] " % self.remoteIP
|
message = "what is the back-end DBMS address? [Enter for '%s' (detected)] " % self.remoteIP
|
||||||
address = readInput(message, default=self.remoteIP)
|
address = readInput(message, default=self.remoteIP)
|
||||||
|
|
||||||
if not address:
|
if not address:
|
||||||
|
@ -308,7 +308,7 @@ class Metasploit:
|
||||||
|
|
||||||
def _selectLhost(self):
|
def _selectLhost(self):
|
||||||
if self.connectionStr.startswith("reverse"):
|
if self.connectionStr.startswith("reverse"):
|
||||||
message = "what is the local address? [%s] " % self.localIP
|
message = "what is the local address? [Enter for '%s' (detected)] " % self.localIP
|
||||||
address = readInput(message, default=self.localIP)
|
address = readInput(message, default=self.localIP)
|
||||||
|
|
||||||
if not address:
|
if not address:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user