mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
implementation of referer feature
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user