From cdf30c1233fc47be8f390a996e26aae3b9318610 Mon Sep 17 00:00:00 2001 From: dmiller Date: Sat, 7 Jul 2012 22:06:56 +0000 Subject: [PATCH] Avoid using http cache for http-form-fuzzer --- scripts/http-form-fuzzer.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/http-form-fuzzer.nse b/scripts/http-form-fuzzer.nse index a43d0af27..5bcef5c9f 100644 --- a/scripts/http-form-fuzzer.nse +++ b/scripts/http-form-fuzzer.nse @@ -157,7 +157,7 @@ local function fuzz_form(form, minlen, maxlen, host, port, path) if form["method"]=="post" then sending_function = function(data) return http.post(host, port, form_submission_path, nil, nil, data) end else - sending_function = function(data) return http.get(host, port, form_submission_path..generate_get_string(data)) end + sending_function = function(data) return http.get(host, port, form_submission_path..generate_get_string(data), {no_cache=true, bypass_cache=true}) end end for _,field in ipairs(form["fields"]) do