mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-23 19:34:13 +03:00
quick fix for UA and Referer
This commit is contained in:
parent
7253362114
commit
521635c84d
|
@ -397,10 +397,8 @@ def checkSqlInjection(place, parameter, value):
|
||||||
# Feed with the boundaries details only the first time a
|
# Feed with the boundaries details only the first time a
|
||||||
# test has been successful
|
# test has been successful
|
||||||
if injection.place is None or injection.parameter is None:
|
if injection.place is None or injection.parameter is None:
|
||||||
if place == PLACE.UA:
|
if place in (PLACE.UA, PLACE.REFERER):
|
||||||
injection.parameter = conf.agent
|
injection.parameter = place
|
||||||
elif place == PLACE.REFERER:
|
|
||||||
injection.parameter = conf.referer
|
|
||||||
else:
|
else:
|
||||||
injection.parameter = parameter
|
injection.parameter = parameter
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user