Skip to content

Commit ce64d97

Browse files
committed
1 parent 971f59a commit ce64d97

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sqlmap.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ def main():
6969

7070
try:
7171
paths.SQLMAP_ROOT_PATH = modulePath()
72+
73+
try:
74+
os.path.isdir(paths.SQLMAP_ROOT_PATH)
75+
except UnicodeEncodeError:
76+
errMsg = "your system does not properly handle non-ASCII paths. "
77+
errMsg += "Please move the sqlmap's directory to the other location"
78+
logger.error(errMsg)
79+
exit()
80+
7281
setPaths()
7382

7483
# Store original command line options for possible later restoration

0 commit comments

Comments
 (0)