mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor beautification (e.g. HTTP header cases like Host parameter 'Host')
This commit is contained in:
parent
23d0a04f32
commit
36f2bb5390
5 changed files with 28 additions and 33 deletions
|
|
@ -407,7 +407,7 @@ def _setRequestParams():
|
|||
|
||||
for parameter in conf.paramDict.get(place, {}):
|
||||
if any(parameter.lower().count(_) for _ in CSRF_TOKEN_PARAMETER_INFIXES):
|
||||
message = "%s parameter '%s' appears to hold anti-CSRF token. " % (place, parameter)
|
||||
message = "%sparameter '%s' appears to hold anti-CSRF token. " % ("%s " % place if place != parameter else "", parameter)
|
||||
message += "Do you want sqlmap to automatically update it in further requests? [y/N] "
|
||||
|
||||
if readInput(message, default='N', boolean=True):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue