File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020from lib .core .revision import getRevisionNumber
2121
2222# sqlmap version and site
23- VERSION = "1.0.0.7 "
23+ VERSION = "1.0.0.8 "
2424REVISION = getRevisionNumber ()
25- VERSION_STRING = "sqlmap/%s" % VERSION
25+ STABLE = VERSION .count ('.' ) <= 2
26+ VERSION_STRING = "sqlmap/%s#%s" % (VERSION , "stable" if STABLE else "dev" )
2627DESCRIPTION = "automatic SQL injection and database takeover tool"
2728SITE = "http://sqlmap.org"
2829ISSUES_PAGE = "https://github.com/sqlmapproject/sqlmap/issues/new"
3536|_ -| . | | | .'| . |
3637|___|_ |_|_|_|_|__,| _|
3738 |_| |_| \033 [0m\033 [4;37m%s\033 [0m\n
38- """ % ((31 + hash (REVISION ) % 6 ) if REVISION else 30 , VERSION_STRING .split ('/' )[- 1 ], SITE )
39+ """ % ((31 + hash (VERSION ) % 6 ) if not STABLE else 30 , VERSION_STRING .split ('/' )[- 1 ], SITE )
3940
4041# Minimum distance of ratio from kb.matchRatio to result in True
4142DIFF_TOLERANCE = 0.05
You can’t perform that action at this time.
0 commit comments