mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
little clean up
This commit is contained in:
parent
27601babb4
commit
c19d481bb1
3 changed files with 8 additions and 3 deletions
|
|
@ -33,6 +33,7 @@ from lib.core.option import __setKnowledgeBaseAttributes
|
|||
from lib.core.session import resumeConfKb
|
||||
from lib.core.settings import UNICODE_ENCODING
|
||||
from lib.core.settings import URI_INJECTABLE_REGEX
|
||||
from lib.core.settings import URI_INJECTION_MARK_CHAR
|
||||
from lib.core.xmldump import dumper as xmldumper
|
||||
from lib.request.connect import Connect as Request
|
||||
|
||||
|
|
@ -80,7 +81,7 @@ def __setRequestParams():
|
|||
conf.method = HTTPMETHOD.POST
|
||||
|
||||
if re.search(URI_INJECTABLE_REGEX, conf.url, re.I):
|
||||
conf.url = "%s*" % conf.url
|
||||
conf.url = "%s%s" % (conf.url, URI_INJECTION_MARK_CHAR)
|
||||
|
||||
if "*" in conf.url:
|
||||
conf.parameters[PLACE.URI] = conf.url
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue