Skip to content

Commit

Permalink
bug when storing a baseline result
Browse files Browse the repository at this point in the history
  • Loading branch information
xmendez committed Sep 22, 2017
1 parent bf0dd72 commit 050225a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions wfuzz/fuzzqueues.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,15 @@ def process(self, prio, item):
while(self.genReq.stats.processed() == 0 and not self.genReq.stats.cancelled):
time.sleep(0.0001)

# more after baseline?
fuzzres = self.genReq.next()

except StopIteration:
raise FuzzExceptBadOptions("Empty dictionary! Please check payload or filter.")

# Enqueue requests
try:
if fuzzres.is_baseline:
# more after baseline?
fuzzres = self.genReq.next()

while fuzzres:
self.genReq.stats.pending_fuzz.inc()
if self.delay: time.sleep(self.delay)
Expand Down

0 comments on commit 050225a

Please sign in to comment.