Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e735f29 commit e929193Copy full SHA for e929193
1 file changed
lib/controller/controller.py
@@ -311,6 +311,14 @@ def start():
311
parameters.insert(0, place)
312
313
for place in parameters:
314
+ # Test User-Agent header only if --level >= 4
315
+ condition = (place == "User-Agent" and conf.level < 4)
316
+ # Test Cookie header only if --level >= 3
317
+ condition |= (place == "Cookie" and conf.level < 3)
318
+
319
+ if condition:
320
+ continue
321
322
if not conf.paramDict.has_key(place):
323
continue
324
0 commit comments