Skip to content

Commit bce1cfe

Browse files
committed
Minor update
1 parent 0cd6285 commit bce1cfe

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

lib/controller/controller.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,6 @@ def start():
452452
checkNullConnection()
453453

454454
if (len(kb.injections) == 0 or (len(kb.injections) == 1 and kb.injections[0].place is None)) and (kb.injection.place is None or kb.injection.parameter is None):
455-
456455
if not any((conf.string, conf.notString, conf.regexp)) and PAYLOAD.TECHNIQUE.BOOLEAN in conf.technique:
457456
# NOTE: this is not needed anymore, leaving only to display
458457
# a warning message to the user in case the page is not stable

lib/core/option.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import tempfile
2222
import threading
2323
import time
24+
import traceback
2425

2526
from lib.controller.checks import checkConnection
2627
from lib.core.common import Backend
@@ -921,6 +922,11 @@ def _setPreprocessFunctions():
921922
try:
922923
function(_urllib.request.Request("http://localhost"))
923924
except:
925+
tbMsg = traceback.format_exc()
926+
927+
if conf.debug:
928+
dataToStdout(tbMsg)
929+
924930
handle, filename = tempfile.mkstemp(prefix=MKSTEMP_PREFIX.PREPROCESS, suffix=".py")
925931
os.close(handle)
926932

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.4.12.16"
21+
VERSION = "1.4.12.17"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)