mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Fixing ancient bug (introduced with #6c80f29) - that removes original value when --prefix used
This commit is contained in:
parent
90ad914c1e
commit
7c1cff6749
|
@ -124,11 +124,8 @@ class Agent(object):
|
|||
if header.upper() == HTTP_HEADER.AUTHORIZATION.upper():
|
||||
origValue = origValue.split(' ')[-1].split(':')[-1]
|
||||
|
||||
if conf.prefix:
|
||||
value = origValue
|
||||
|
||||
if value is None:
|
||||
if where == PAYLOAD.WHERE.ORIGINAL:
|
||||
if where == PAYLOAD.WHERE.ORIGINAL or conf.prefix:
|
||||
value = origValue
|
||||
elif where == PAYLOAD.WHERE.NEGATIVE:
|
||||
if conf.invalidLogical:
|
||||
|
|
Loading…
Reference in New Issue
Block a user