Skip to content

Commit 51a4cb0

Browse files
committed
Another minor language patch
1 parent 41c21ab commit 51a4cb0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/takeover/icmpsh.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ def _initVars(self):
3232
self._icmpslave = normalizePath(os.path.join(paths.SQLMAP_EXTRAS_PATH, "icmpsh", "icmpsh.exe_"))
3333

3434
def _selectRhost(self):
35-
message = "what is the back-end DBMS address? [%s] " % self.remoteIP
35+
message = "what is the back-end DBMS address? [Enter for '%s' (detected)] " % self.remoteIP
3636
address = readInput(message, default=self.remoteIP)
3737

3838
return address
3939

4040
def _selectLhost(self):
41-
message = "what is the local address? [%s] " % self.localIP
41+
message = "what is the local address? [Enter for '%s' (detected)] " % self.localIP
4242
address = readInput(message, default=self.localIP)
4343

4444
return address

lib/takeover/metasploit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def _selectPort(self):
292292

293293
def _selectRhost(self):
294294
if self.connectionStr.startswith("bind"):
295-
message = "what is the back-end DBMS address? [%s] " % self.remoteIP
295+
message = "what is the back-end DBMS address? [Enter for '%s' (detected)] " % self.remoteIP
296296
address = readInput(message, default=self.remoteIP)
297297

298298
if not address:
@@ -308,7 +308,7 @@ def _selectRhost(self):
308308

309309
def _selectLhost(self):
310310
if self.connectionStr.startswith("reverse"):
311-
message = "what is the local address? [%s] " % self.localIP
311+
message = "what is the local address? [Enter for '%s' (detected)] " % self.localIP
312312
address = readInput(message, default=self.localIP)
313313

314314
if not address:

0 commit comments

Comments
 (0)