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

Skip to content

Commit 309d088

Browse files
committed
Fixes #4943
1 parent 3b07b70 commit 309d088

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

lib/controller/checks.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import re
1212
import socket
1313
import subprocess
14-
import sys
1514
import time
1615

1716
from extra.beep.beep import beep
@@ -46,7 +45,6 @@
4645
from lib.core.common import wasLastResponseDBMSError
4746
from lib.core.common import wasLastResponseHTTPError
4847
from lib.core.compat import xrange
49-
from lib.core.convert import getBytes
5048
from lib.core.convert import getUnicode
5149
from lib.core.data import conf
5250
from lib.core.data import kb
@@ -95,7 +93,6 @@
9593
from lib.core.settings import SLEEP_TIME_MARKER
9694
from lib.core.settings import SUHOSIN_MAX_VALUE_LENGTH
9795
from lib.core.settings import SUPPORTED_DBMS
98-
from lib.core.settings import UNICODE_ENCODING
9996
from lib.core.settings import UPPER_RATIO_BOUND
10097
from lib.core.settings import URI_HTTP_HEADER
10198
from lib.core.threads import getCurrentThreadData
@@ -792,7 +789,7 @@ def genCmpPayload():
792789
logger.info(infoMsg)
793790

794791
try:
795-
process = subprocess.Popen(getBytes(conf.alert, sys.getfilesystemencoding() or UNICODE_ENCODING), shell=True)
792+
process = subprocess.Popen(conf.alert, shell=True)
796793
process.wait()
797794
except Exception as ex:
798795
errMsg = "error occurred while executing '%s' ('%s')" % (conf.alert, getSafeExString(ex))

lib/core/settings.py

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

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.6.1.2"
23+
VERSION = "1.6.1.3"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
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)