mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Adding support for ~
This commit is contained in:
parent
de31688c4f
commit
a585aa4bff
|
@ -1380,6 +1380,10 @@ def _cleanupOptions():
|
||||||
else:
|
else:
|
||||||
conf.progressWidth = width - 46
|
conf.progressWidth = width - 46
|
||||||
|
|
||||||
|
for key, value in conf.items():
|
||||||
|
if value and any(key.endswith(_) for _ in ("Path", "File")):
|
||||||
|
conf[key] = os.path.expanduser(value)
|
||||||
|
|
||||||
if conf.testParameter:
|
if conf.testParameter:
|
||||||
conf.testParameter = urldecode(conf.testParameter)
|
conf.testParameter = urldecode(conf.testParameter)
|
||||||
conf.testParameter = conf.testParameter.replace(" ", "")
|
conf.testParameter = conf.testParameter.replace(" ", "")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user