3737from lib .core .option import __setDBMS
3838from lib .core .option import __setKnowledgeBaseAttributes
3939from lib .core .session import resumeConfKb
40+ from lib .core .settings import CUSTOM_INJECTION_MARK_CHAR
4041from lib .core .settings import HOST_ALIASES
4142from lib .core .settings import REFERER_ALIASES
4243from lib .core .settings import RESULTS_FILE_FORMAT
4344from lib .core .settings import SOAP_REGEX
4445from lib .core .settings import UNENCODED_ORIGINAL_VALUE
4546from lib .core .settings import UNICODE_ENCODING
4647from lib .core .settings import URI_INJECTABLE_REGEX
47- from lib .core .settings import URI_INJECTION_MARK_CHAR
4848from lib .core .settings import USER_AGENT_ALIASES
4949from lib .utils .hashdb import HashDB
5050from lib .core .xmldump import dumper as xmldumper
@@ -110,16 +110,16 @@ def __setRequestParams():
110110 test = readInput (message , default = "Y" )
111111
112112 if not test or test [0 ] in ("y" , "Y" ):
113- conf .url = "%s%s" % (conf .url , URI_INJECTION_MARK_CHAR )
113+ conf .url = "%s%s" % (conf .url , CUSTOM_INJECTION_MARK_CHAR )
114114 elif test [0 ] in ("n" , "N" ):
115115 pass
116116 elif test [0 ] in ("q" , "Q" ):
117117 raise sqlmapUserQuitException
118118
119- if URI_INJECTION_MARK_CHAR in conf .url :
119+ if CUSTOM_INJECTION_MARK_CHAR in conf .url :
120120 conf .parameters [PLACE .URI ] = conf .url
121121 conf .paramDict [PLACE .URI ] = {}
122- parts = conf .url .split (URI_INJECTION_MARK_CHAR )
122+ parts = conf .url .split (CUSTOM_INJECTION_MARK_CHAR )
123123
124124 for i in xrange (len (parts )- 1 ):
125125 result = str ()
@@ -128,11 +128,11 @@ def __setRequestParams():
128128 result += parts [j ]
129129
130130 if i == j :
131- result += URI_INJECTION_MARK_CHAR
131+ result += CUSTOM_INJECTION_MARK_CHAR
132132
133- conf .paramDict [PLACE .URI ]["#%d%s" % (i + 1 , URI_INJECTION_MARK_CHAR )] = result
133+ conf .paramDict [PLACE .URI ]["#%d%s" % (i + 1 , CUSTOM_INJECTION_MARK_CHAR )] = result
134134
135- conf .url = conf .url .replace (URI_INJECTION_MARK_CHAR , str ())
135+ conf .url = conf .url .replace (CUSTOM_INJECTION_MARK_CHAR , str ())
136136 __testableParameters = True
137137
138138 # Perform checks on Cookie parameters
0 commit comments