File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
# Copyright (c) 2006-2020 sqlmap developers (http://sqlmap.org/)
4
4
# See the file 'LICENSE' for copying permission
5
5
6
- # Runs py2diatra on all python files (prerequisite: pip install pydiatra)
7
- find . -wholename " ./thirdparty" -prune -o -type f -iname " *.py" -exec py2diatra ' {}' \; | grep -v bare-except
6
+ # Runs py3diatra on all python files (prerequisite: pip install pydiatra)
7
+ find . -wholename " ./thirdparty" -prune -o -type f -iname " *.py" -exec py3diatra ' {}' \; | grep -v bare-except
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.25 "
21
+ VERSION = "1.4.12.26 "
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 @@ -936,7 +936,7 @@ def _format_action_invocation(self, action):
936
936
937
937
for i in xrange (len (argv )):
938
938
# Reference: https://en.wiktionary.org/wiki/-
939
- argv [i ] = re .sub (u"\A(\u2010 |\u2013 |\u2212 |\u2014 |\u4e00 |\u1680 |\uFE63 |\uFF0D )+" , lambda match : '-' * len (match .group (0 )), argv [i ])
939
+ argv [i ] = re .sub (u"\\ A(\u2010 |\u2013 |\u2212 |\u2014 |\u4e00 |\u1680 |\uFE63 |\uFF0D )+" , lambda match : '-' * len (match .group (0 )), argv [i ])
940
940
941
941
# Reference: https://unicode-table.com/en/sets/quotation-marks/
942
942
argv [i ] = argv [i ].strip (u"\u00AB \u2039 \u00BB \u203A \u201E \u201C \u201F \u201D \u2019 \u0022 \u275D \u275E \u276E \u276F \u2E42 \u301D \u301E \u301F \uFF02 \u201A \u2018 \u201B \u275B \u275C " )
You can’t perform that action at this time.
0 commit comments