Skip to content

Commit

Permalink
- Bug fix in filters
Browse files Browse the repository at this point in the history
  • Loading branch information
federicodotta committed Jan 5, 2016
1 parent 551e553 commit 5413753
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Autorize.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@
import sys
import base64

'''
TODO
- Fix bug in filters
'''

# This code is necessary to maximize the csv field limit for the save and restore functionality
maxInt = sys.maxsize
decrement = True
Expand Down Expand Up @@ -1354,13 +1349,13 @@ def include(self, entry):

if self._extender.showAuthBypassModified.isSelected() and "Authorization bypass!" == entry.getValue(6):
return True
elif self._extender.showAuthPotentiallyEnforcedModified.isSelected() and "Authorization enforced???" == entry.getValue(6):
elif self._extender.showAuthPotentiallyEnforcedModified.isSelected() and "Authorization enforced??? (please configure enforcement detector)" == entry.getValue(6):
return True
elif self._extender.showAuthEnforcedModified.isSelected() and "Authorization enforced!" == entry.getValue(6):
return True
elif self._extender.showAuthBypassUnauthenticated.isSelected() and "Authorization bypass!" == entry.getValue(7):
return True
elif self._extender.showAuthPotentiallyEnforcedUnauthenticated.isSelected() and "Authorization enforced???" == entry.getValue(7):
elif self._extender.showAuthPotentiallyEnforcedUnauthenticated.isSelected() and "Authorization enforced??? (please configure enforcement detector)" == entry.getValue(7):
return True
elif self._extender.showAuthEnforcedUnauthenticated.isSelected() and "Authorization enforced!" == entry.getValue(7):
return True
Expand Down

0 comments on commit 5413753

Please sign in to comment.