File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.4.12.28 "
21+ VERSION = "1.4.12.29 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_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():
326326 logger .critical (errMsg )
327327 raise SystemExit
328328
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+
329335 elif all (_ in excMsg for _ in ("twophase" , "sqlalchemy" )):
330336 errMsg = "please update the 'sqlalchemy' package (>= 1.1.11) "
331337 errMsg += "(Reference: 'https://qiita.com/tkprof/items/7d7b2d00df9c5f16fffe')"
You can’t perform that action at this time.
0 commit comments