mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Minor code cleanup
This commit is contained in:
parent
4a3fa69f9d
commit
a10adcfe08
|
@ -296,8 +296,8 @@ def getDirs():
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
||||||
message = "please provide any additional web server full path to try "
|
message = "please provide any additional web server full path to try "
|
||||||
message += "to upload the agent [%s]: " % "".join("%s," % directory for directory in defaultDirs).rstrip(',')
|
message += "to upload the agent [%s]: " % ",".join(directory for directory in defaultDirs)
|
||||||
inputDirs = readInput(message, default="".join("%s," % directory for directory in defaultDirs).rstrip(','))
|
inputDirs = readInput(message, default=",".join(directory for directory in defaultDirs))
|
||||||
|
|
||||||
if inputDirs:
|
if inputDirs:
|
||||||
inputDirs = inputDirs.replace(", ", ",")
|
inputDirs = inputDirs.replace(", ", ",")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user