mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
update of redirection mechanism (now 3-state - redirected, original and "ignored" (containing redirection message itself))
This commit is contained in:
parent
ec895c3d1a
commit
9bc735963b
3 changed files with 19 additions and 11 deletions
|
|
@ -110,6 +110,11 @@ class EXPECTED:
|
|||
BOOL = "bool"
|
||||
INT = "int"
|
||||
|
||||
class REDIRECTION:
|
||||
FOLLOW = "1"
|
||||
ORIGINAL = "2"
|
||||
IGNORE = "3"
|
||||
|
||||
class PAYLOAD:
|
||||
SQLINJECTION = {
|
||||
1: "boolean-based blind",
|
||||
|
|
|
|||
|
|
@ -1383,7 +1383,6 @@ def __setKnowledgeBaseAttributes(flushAll=True):
|
|||
|
||||
kb.absFilePaths = set()
|
||||
kb.adjustTimeDelay = False
|
||||
kb.alwaysRedirect = None
|
||||
kb.alwaysRefresh = None
|
||||
kb.arch = None
|
||||
kb.authHeader = None
|
||||
|
|
@ -1455,6 +1454,7 @@ def __setKnowledgeBaseAttributes(flushAll=True):
|
|||
kb.processResponseCounter = 0
|
||||
kb.proxyAuthHeader = None
|
||||
kb.queryCounter = 0
|
||||
kb.redirectChoice = None
|
||||
kb.redirectSetCookie = None
|
||||
kb.reflectiveMechanism = True
|
||||
kb.reflectiveCounters = {REFLECTIVE_COUNTER.MISS:0, REFLECTIVE_COUNTER.HIT:0}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue