From adfd05f03c00547c0efa12af0f5b74d0ec73f581 Mon Sep 17 00:00:00 2001 From: abhishek singh Date: Sun, 17 Jul 2016 21:48:48 +0530 Subject: [PATCH] return from update_cookies if table is nil --- scripts/http-form-brute.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/http-form-brute.nse b/scripts/http-form-brute.nse index b09b21813..cd2148702 100644 --- a/scripts/http-form-brute.nse +++ b/scripts/http-form-brute.nse @@ -316,7 +316,7 @@ end -- TODO: expire cookies local function update_cookies (old, new) if not old then - old = {} + return end for i, c in ipairs(new) do local add = true