Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 99894dc

Browse files
committed
Minor update (git/https repo address consistency)
1 parent 0c4b6c9 commit 99894dc

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/core/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
from 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"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
2626
DESCRIPTION = "automatic SQL injection and database takeover tool"
2727
SITE = "http://sqlmap.org"
2828
DEV_EMAIL_ADDRESS = "[email protected]"
2929
ISSUES_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"
3131
GIT_PAGE = "https://github.com/sqlmapproject/sqlmap"
3232

3333
# colorful banner

lib/core/update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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())

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ ffa5f01f39b17c8d73423acca6cfe86a lib/core/readlineng.py
4646
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4747
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
4848
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
49-
fbcb5796a6af29fc0715fe516e38f754 lib/core/settings.py
49+
38ff7838ee66e799a8484f4850152cdc lib/core/settings.py
5050
d0adc28a38e43a787df4471f7f027413 lib/core/shell.py
5151
63491be462c515a1a3880c27c2acc4a2 lib/core/subprocessng.py
5252
3cc852f927833895361973fbcfd156d2 lib/core/target.py
5353
72d499ca8d792e90a1ebfb2ad2341a51 lib/core/testing.py
5454
de9922a29c71a235cb95a916ff925db2 lib/core/threads.py
5555
c40758411bb0bd68764d78e0bb72bd0f lib/core/unescaper.py
56-
063c10fb8261994fe1f8c8ace715aa76 lib/core/update.py
56+
1b655a78fe4d937d39131938a4a5a1d6 lib/core/update.py
5757
fc624104ddb36d41794b7a943fde5f21 lib/core/wordlist.py
5858
1e5532ede194ac9c083891c2f02bca93 lib/__init__.py
5959
7620f1f4b8791e13c7184c06b5421754 lib/parse/banner.py

0 commit comments

Comments
 (0)