File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131from lib .core .common import preparePageForLineComparison
3232from lib .core .common import randomInt
3333from lib .core .common import randomStr
34+ from lib .core .common import readInput
3435from lib .core .common import DynamicContentItem
3536from lib .core .convert import md5hash
3637from lib .core .data import conf
3940from lib .core .data import paths
4041from lib .core .exception import sqlmapConnectionException
4142from lib .core .exception import sqlmapNoneDataException
43+ from lib .core .exception import sqlmapUserQuitException
4244from lib .core .session import setString
4345from lib .core .session import setRegexp
4446from lib .request .connect import Connect as Request
@@ -223,6 +225,11 @@ def checkStability():
223225 warnMsg += "manual paragraph 'Page comparison' and provide a "
224226 warnMsg += "string or regular expression to match on"
225227 logger .warn (warnMsg )
228+
229+ message = "do you want to continue? [Y/n] "
230+ test = readInput (message , default = "Y" )
231+ if test and test [0 ] not in ("y" , "Y" ):
232+ raise sqlmapUserQuitException
226233
227234 checkDynamicContent (firstPage , secondPage )
228235
You can’t perform that action at this time.
0 commit comments