mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
Fixes #1322
This commit is contained in:
parent
971f59a27e
commit
ce64d9797e
|
@ -69,6 +69,15 @@ def main():
|
||||||
|
|
||||||
try:
|
try:
|
||||||
paths.SQLMAP_ROOT_PATH = modulePath()
|
paths.SQLMAP_ROOT_PATH = modulePath()
|
||||||
|
|
||||||
|
try:
|
||||||
|
os.path.isdir(paths.SQLMAP_ROOT_PATH)
|
||||||
|
except UnicodeEncodeError:
|
||||||
|
errMsg = "your system does not properly handle non-ASCII paths. "
|
||||||
|
errMsg += "Please move the sqlmap's directory to the other location"
|
||||||
|
logger.error(errMsg)
|
||||||
|
exit()
|
||||||
|
|
||||||
setPaths()
|
setPaths()
|
||||||
|
|
||||||
# Store original command line options for possible later restoration
|
# Store original command line options for possible later restoration
|
||||||
|
|
Loading…
Reference in New Issue
Block a user