mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Fixing ancient bug (introduced with #6c80f29) - that removes original value when --prefix used
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user