From e47c1aa61bb14c6a7c895dad565054d28564ee4b Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 10 Dec 2018 13:21:36 +0100 Subject: [PATCH] Resolving some more hooking problems --- extra/shutils/postcommit-hook.sh | 4 ++-- extra/shutils/precommit-hook.sh | 4 ++-- lib/core/settings.py | 2 +- txt/checksum.md5 | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/extra/shutils/postcommit-hook.sh b/extra/shutils/postcommit-hook.sh index d5d0ed0cf..eb3db6c4e 100755 --- a/extra/shutils/postcommit-hook.sh +++ b/extra/shutils/postcommit-hook.sh @@ -1,6 +1,6 @@ #!/bin/bash -""" +: ' cat > .git/hooks/post-commit << EOF #!/bin/bash @@ -8,7 +8,7 @@ source ./extra/shutils/postcommit-hook.sh EOF chmod +x .git/hooks/post-commit -""" +' SETTINGS="../../lib/core/settings.py" diff --git a/extra/shutils/precommit-hook.sh b/extra/shutils/precommit-hook.sh index 624df765a..5a9fea424 100755 --- a/extra/shutils/precommit-hook.sh +++ b/extra/shutils/precommit-hook.sh @@ -1,6 +1,6 @@ #!/bin/bash -""" +: ' cat > .git/hooks/pre-commit << EOF #!/bin/bash @@ -8,7 +8,7 @@ source ./extra/shutils/precommit-hook.sh EOF chmod +x .git/hooks/pre-commit -""" +' PROJECT="../../" SETTINGS="../../lib/core/settings.py" diff --git a/lib/core/settings.py b/lib/core/settings.py index f45e3e8f2..ce145fec9 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME from lib.core.enums import OS # sqlmap version (...) -VERSION = "1.2.12.9" +VERSION = "1.2.12.10" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 7cd9422e8..a105fb39a 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -49,7 +49,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py 0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py a7db43859b61569b601b97f187dd31c5 lib/core/revision.py fcb74fcc9577523524659ec49e2e964b lib/core/session.py -e71aea1aff5751fdcdc97ba63973a603 lib/core/settings.py +7535ff33c85d9b886f9e631dc0158cb9 lib/core/settings.py a971ce157d04de96ba6e710d3d38a9a8 lib/core/shell.py a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py 52642badbbca4c31a2fcdd754d67a983 lib/core/target.py