File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,11 +12,13 @@ chmod +x .git/hooks/pre-commit
1212
1313PROJECT=" ../../"
1414SETTINGS=" ../../lib/core/settings.py"
15+ DIGEST=" ../../sha256sums.txt"
1516
1617declare -x SCRIPTPATH=" ${0} "
1718
1819PROJECT_FULLPATH=${SCRIPTPATH%/* } /$PROJECT
1920SETTINGS_FULLPATH=${SCRIPTPATH%/* } /$SETTINGS
21+ DIGEST_FULLPATH=${SCRIPTPATH%/* } /$DIGEST
2022
2123git diff $SETTINGS_FULLPATH | grep " VERSION =" > /dev/null && exit 0
2224
3537 fi
3638 git add " $SETTINGS_FULLPATH "
3739fi
40+
41+ cd $PROJECT_FULLPATH && git ls-files | sort | uniq | grep -v sha256 | xargs sha256sum > $DIGEST_FULLPATH
Original file line number Diff line number Diff line change 2020from thirdparty .six import unichr as _unichr
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.8.2.1 "
23+ VERSION = "1.8.3.0 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments