]> git.parisson.com Git - deefuzzer.git/commitdiff
Fixed logic flaw with retry counts (negative maxretry value would never retry instead...
authorachbed <github@achbed.org>
Fri, 16 Jan 2015 22:48:37 +0000 (16:48 -0600)
committerachbed <github@achbed.org>
Fri, 16 Jan 2015 22:48:37 +0000 (16:48 -0600)
Signed-off-by: achbed <github@achbed.org>
deefuzzer/core.py

index 60648a21b87f48b1b5faa382093e87b74e778505..0e0fcab5f0cce5708844f240e003ce28f6090748 100644 (file)
@@ -283,7 +283,7 @@ class DeeFuzzer(Thread):
                                 self.station_settings[i]['retries'] = 0
                                 continue
                             
-                            if self.maxretry < 0 or self.station_settings[i]['retries'] <= self.maxretry:
+                            if self.maxretry >= 0 and self.station_settings[i]['retries'] <= self.maxretry:
                                 # Station passed the max retries count is will not be reloaded
                                 continue