mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
Fix for an Issue #229
This commit is contained in:
parent
3cf5fc2f5a
commit
1ee0d9ce5e
|
@ -11,6 +11,7 @@ import os
|
||||||
import re
|
import re
|
||||||
import tempfile
|
import tempfile
|
||||||
import time
|
import time
|
||||||
|
import urlparse
|
||||||
|
|
||||||
from lib.core.common import Backend
|
from lib.core.common import Backend
|
||||||
from lib.core.common import hashDBRetrieve
|
from lib.core.common import hashDBRetrieve
|
||||||
|
@ -162,6 +163,15 @@ def __setRequestParams():
|
||||||
kb.processUserMarks = not test or test[0] not in ("n", "N")
|
kb.processUserMarks = not test or test[0] not in ("n", "N")
|
||||||
|
|
||||||
if not kb.processUserMarks:
|
if not kb.processUserMarks:
|
||||||
|
if place == PLACE.URI:
|
||||||
|
query = urlparse.urlsplit(value)[3]
|
||||||
|
if query:
|
||||||
|
parameters = conf.parameters[PLACE.GET] = query
|
||||||
|
paramDict = paramToDict(PLACE.GET, parameters)
|
||||||
|
|
||||||
|
if paramDict:
|
||||||
|
conf.paramDict[PLACE.GET] = paramDict
|
||||||
|
testableParameters = True
|
||||||
continue
|
continue
|
||||||
|
|
||||||
conf.parameters[place] = value
|
conf.parameters[place] = value
|
||||||
|
|
Loading…
Reference in New Issue
Block a user