Minor refactoring for all that stickyness

This commit is contained in:
Miroslav Stampar
2012-07-12 15:58:45 +02:00
parent 64143a146f
commit 8e18514e56
3 changed files with 9 additions and 15 deletions

View File

@@ -26,7 +26,6 @@ from lib.core.common import hashDBWrite
from lib.core.common import incrementCounter
from lib.core.common import randomStr
from lib.core.common import safeStringFormat
from lib.core.common import setFormatterPrependFlag
from lib.core.common import singleTimeWarnMessage
from lib.core.data import conf
from lib.core.data import kb
@@ -525,7 +524,8 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
except KeyboardInterrupt:
abortedFlag = True
finally:
setFormatterPrependFlag(False)
kb.prependFlag = False
kb.stickyLevel = None
if finalValue is not None:
finalValue = decodeHexValue(finalValue) if conf.hexConvert else finalValue