From 91fae581a57a8ff9358ab5760e11d860be539a3c Mon Sep 17 00:00:00 2001 From: javi Date: Fri, 9 Nov 2018 22:02:52 +0100 Subject: [PATCH] fix operation on closed file. --- src/wfuzz/plugins/iterators/iterations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wfuzz/plugins/iterators/iterations.py b/src/wfuzz/plugins/iterators/iterations.py index 1f49dac9..8fcc7bd0 100644 --- a/src/wfuzz/plugins/iterators/iterations.py +++ b/src/wfuzz/plugins/iterators/iterations.py @@ -42,8 +42,8 @@ class product(object): priority = 99 def __init__(self, *i): - self.it = itertools.product(*i) self.__count = reduce(lambda x, y: x * y.count(), i[1:], i[0].count()) + self.it = itertools.product(*i) def count(self): return self.__count