revert of that thingy as requested by Bernardo

This commit is contained in:
Miroslav Stampar 2011-03-29 10:06:35 +00:00
parent a9f5d828c6
commit 4d78eac938

View File

@ -332,9 +332,6 @@ def start():
# Test Cookie header only if --level >= 2 # Test Cookie header only if --level >= 2
skip |= (place == PLACE.COOKIE and conf.level < 2) skip |= (place == PLACE.COOKIE and conf.level < 2)
# Test GET parameter in case --data only if --level >= 3
skip |= (place == PLACE.GET and conf.data is not None and conf.level < 3)
skip &= not (place == PLACE.UA and intersect(USER_AGENT_ALIASES, conf.testParameter)) skip &= not (place == PLACE.UA and intersect(USER_AGENT_ALIASES, conf.testParameter))
skip &= not (place == PLACE.REFERER and intersect(REFERER_ALIASES, conf.testParameter)) skip &= not (place == PLACE.REFERER and intersect(REFERER_ALIASES, conf.testParameter))