bug fix (dynamic markings were not restored in program rerun which potentially led to no data retrieved)

This commit is contained in:
Miroslav Stampar
2010-12-29 19:48:19 +00:00
parent 8f32c740ff
commit 613242e298
2 changed files with 24 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ from lib.core.exception import sqlmapGenericException
from lib.core.exception import sqlmapNoneDataException
from lib.core.exception import sqlmapSiteTooDynamic
from lib.core.exception import sqlmapUserQuitException
from lib.core.session import setDynamicMarkings
from lib.core.session import setString
from lib.core.session import setRegexp
from lib.core.settings import UPPER_RATIO_BOUND
@@ -531,6 +532,8 @@ def checkDynamicContent(firstPage, secondPage):
secondPage, _ = Request.queryPage(content=True)
findDynamicContent(firstPage, secondPage)
setDynamicMarkings(kb.dynamicMarkings)
def checkStability():
"""
This function checks if the URL content is stable requesting the