File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments