File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 18
18
from thirdparty .six import unichr as _unichr
19
19
20
20
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21
- VERSION = "1.4.12.28 "
21
+ VERSION = "1.4.12.29 "
22
22
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
23
23
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
24
24
VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change @@ -326,6 +326,12 @@ def main():
326
326
logger .critical (errMsg )
327
327
raise SystemExit
328
328
329
+ elif "Permission denied: '" in excMsg :
330
+ match = re .search (r"Permission denied: '([^']*)" , excMsg )
331
+ errMsg = "permission error occurred while accessing file '%s'" % match .group (1 )
332
+ logger .critical (errMsg )
333
+ raise SystemExit
334
+
329
335
elif all (_ in excMsg for _ in ("twophase" , "sqlalchemy" )):
330
336
errMsg = "please update the 'sqlalchemy' package (>= 1.1.11) "
331
337
errMsg += "(Reference: 'https://qiita.com/tkprof/items/7d7b2d00df9c5f16fffe')"
You can’t perform that action at this time.
0 commit comments