We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea1b0d3 commit 4f346eaCopy full SHA for 4f346ea
1 file changed
lib/controller/checks.py
@@ -221,12 +221,10 @@ def checkStability():
221
infoMsg = "testing if the url is stable, wait a few seconds"
222
logger.info(infoMsg)
223
224
- firstPage, _ = Request.queryPage(content=True)
+ firstPage = conf.seqMatcher.a # set inside checkConnection()
225
time.sleep(1)
226
secondPage, _ = Request.queryPage(content=True)
227
228
- conf.seqMatcher.set_seq1(firstPage)
229
-
230
kb.pageStable = (firstPage == secondPage)
231
232
if kb.pageStable:
@@ -401,7 +399,8 @@ def checkConnection():
401
399
402
400
403
try:
404
- Request.getPage()
+ page, _ = Request.queryPage(content=True)
+ conf.seqMatcher.set_seq1(page)
405
406
except sqlmapConnectionException, errMsg:
407
errMsg = getUnicode(errMsg)
0 commit comments