mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 11:13:47 +00:00
implementation of a new dynamic content removal engine
This commit is contained in:
parent
db260c44d3
commit
8df7c88174
5 changed files with 38 additions and 66 deletions
|
|
@ -1079,8 +1079,6 @@ def safeStringFormat(formatStr, params):
|
|||
if count < len(params):
|
||||
retVal = retVal[:index] + getUnicode(params[count]) + retVal[index+2:]
|
||||
else:
|
||||
import pdb
|
||||
pdb.set_trace()
|
||||
raise sqlmapNoneDataException, "wrong number of parameters during string formatting"
|
||||
count += 1
|
||||
|
||||
|
|
|
|||
|
|
@ -1005,6 +1005,8 @@ def __setConfAttributes():
|
|||
conf.dbmsConnector = None
|
||||
conf.dbmsHandler = None
|
||||
conf.dumpPath = None
|
||||
conf.minMatchBlock = 8
|
||||
conf.dynMarkLength = 32
|
||||
conf.httpHeaders = []
|
||||
conf.hostname = None
|
||||
conf.loggedToOut = None
|
||||
|
|
@ -1058,7 +1060,7 @@ def __setKnowledgeBaseAttributes():
|
|||
|
||||
kb.dep = None
|
||||
kb.docRoot = None
|
||||
kb.dynamicContent = []
|
||||
kb.dynamicMarkings = []
|
||||
kb.errorTest = None
|
||||
kb.headersCount = 0
|
||||
kb.headersFp = {}
|
||||
|
|
|
|||
|
|
@ -290,7 +290,8 @@ def initTargetEnv():
|
|||
kb.dbms = None
|
||||
kb.dbmsDetected = False
|
||||
kb.dbmsVersion = [ "Unknown" ]
|
||||
kb.errorTest = None
|
||||
kb.dynamicMarkings = []
|
||||
kb.errorTest = None
|
||||
kb.htmlFp = []
|
||||
kb.lastErrorPage = None
|
||||
kb.injParameter = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue