mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-26 16:50:35 +03:00
minor update
This commit is contained in:
parent
ba2c06c9dc
commit
c463c411b9
|
@ -15,6 +15,7 @@ from lib.core.common import dataToSessionFile
|
|||
from lib.core.common import getFilteredPageContent
|
||||
from lib.core.common import intersect
|
||||
from lib.core.common import readInput
|
||||
from lib.core.common import singleTimeWarnMessage
|
||||
from lib.core.convert import base64pickle
|
||||
from lib.core.convert import base64unpickle
|
||||
from lib.core.data import conf
|
||||
|
@ -166,7 +167,15 @@ def setXpCmdshellAvailability(available):
|
|||
|
||||
def resumeConfKb(expression, url, value):
|
||||
if expression == "Injection data" and url == conf.url:
|
||||
injection = base64unpickle(value[:-1])
|
||||
try:
|
||||
injection = base64unpickle(value[:-1])
|
||||
except:
|
||||
warnMsg = "there were some changes in data model "
|
||||
warnMsg += "preventing normal resume of previously stored "
|
||||
warnMsg += "injection data. please use the --flush-session "
|
||||
warnMsg += "to have it fixed"
|
||||
singleTimeWarnMessage(warnMsg)
|
||||
return
|
||||
|
||||
infoMsg = "resuming injection data from session file"
|
||||
logger.info(infoMsg)
|
||||
|
|
Loading…
Reference in New Issue
Block a user