File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from lib .core .enums import OS
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.2.3.18 "
22+ VERSION = "1.2.3.19 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
2626DESCRIPTION = "automatic SQL injection and database takeover tool"
2727SITE = "http://sqlmap.org"
2828DEV_EMAIL_ADDRESS = "[email protected] " 2929ISSUES_PAGE = "https://github.com/sqlmapproject/sqlmap/issues/new"
30- GIT_REPOSITORY = "git ://github.com/sqlmapproject/sqlmap.git"
30+ GIT_REPOSITORY = "https ://github.com/sqlmapproject/sqlmap.git"
3131GIT_PAGE = "https://github.com/sqlmapproject/sqlmap"
3232
3333# colorful banner
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ def update():
3030
3131 if not os .path .exists (os .path .join (paths .SQLMAP_ROOT_PATH , ".git" )):
3232 errMsg = "not a git repository. Please checkout the 'sqlmapproject/sqlmap' repository "
33- errMsg += "from GitHub (e.g. 'git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git sqlmap')"
33+ errMsg += "from GitHub (e.g. 'git clone --depth 1 %s sqlmap')" % GIT_REPOSITORY
3434 logger .error (errMsg )
3535 else :
3636 infoMsg = "updating sqlmap to the latest development revision from the "
@@ -56,7 +56,7 @@ def update():
5656 else :
5757 if "Not a git repository" in stderr :
5858 errMsg = "not a valid git repository. Please checkout the 'sqlmapproject/sqlmap' repository "
59- errMsg += "from GitHub (e.g. 'git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git sqlmap')"
59+ errMsg += "from GitHub (e.g. 'git clone --depth 1 %s sqlmap')" % GIT_REPOSITORY
6060 logger .error (errMsg )
6161 else :
6262 logger .error ("update could not be completed ('%s')" % re .sub (r"\W+" , " " , stderr ).strip ())
Original file line number Diff line number Diff line change @@ -46,14 +46,14 @@ ffa5f01f39b17c8d73423acca6cfe86a lib/core/readlineng.py
46460c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4747a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
4848fcb74fcc9577523524659ec49e2e964b lib/core/session.py
49- fbcb5796a6af29fc0715fe516e38f754 lib/core/settings.py
49+ 38ff7838ee66e799a8484f4850152cdc lib/core/settings.py
5050d0adc28a38e43a787df4471f7f027413 lib/core/shell.py
515163491be462c515a1a3880c27c2acc4a2 lib/core/subprocessng.py
52523cc852f927833895361973fbcfd156d2 lib/core/target.py
535372d499ca8d792e90a1ebfb2ad2341a51 lib/core/testing.py
5454de9922a29c71a235cb95a916ff925db2 lib/core/threads.py
5555c40758411bb0bd68764d78e0bb72bd0f lib/core/unescaper.py
56- 063c10fb8261994fe1f8c8ace715aa76 lib/core/update.py
56+ 1b655a78fe4d937d39131938a4a5a1d6 lib/core/update.py
5757fc624104ddb36d41794b7a943fde5f21 lib/core/wordlist.py
58581e5532ede194ac9c083891c2f02bca93 lib/__init__.py
59597620f1f4b8791e13c7184c06b5421754 lib/parse/banner.py
You can’t perform that action at this time.
0 commit comments