File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111import re
1212import socket
1313import subprocess
14- import sys
1514import time
1615
1716from extra .beep .beep import beep
4645from lib .core .common import wasLastResponseDBMSError
4746from lib .core .common import wasLastResponseHTTPError
4847from lib .core .compat import xrange
49- from lib .core .convert import getBytes
5048from lib .core .convert import getUnicode
5149from lib .core .data import conf
5250from lib .core .data import kb
9593from lib .core .settings import SLEEP_TIME_MARKER
9694from lib .core .settings import SUHOSIN_MAX_VALUE_LENGTH
9795from lib .core .settings import SUPPORTED_DBMS
98- from lib .core .settings import UNICODE_ENCODING
9996from lib .core .settings import UPPER_RATIO_BOUND
10097from lib .core .settings import URI_HTTP_HEADER
10198from 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 ))
Original file line number Diff line number Diff line change 2020from 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 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments