mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
implementation of referer feature
This commit is contained in:
parent
a6ab24e0b5
commit
535eb9f3eb
6 changed files with 31 additions and 7 deletions
|
|
@ -399,6 +399,8 @@ def checkSqlInjection(place, parameter, value):
|
|||
if injection.place is None or injection.parameter is None:
|
||||
if place == PLACE.UA:
|
||||
injection.parameter = conf.agent
|
||||
elif place == PLACE.REFERER:
|
||||
injection.parameter = conf.referer
|
||||
else:
|
||||
injection.parameter = parameter
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue