more update

This commit is contained in:
Miroslav Stampar 2010-11-07 08:58:24 +00:00
parent 00dfd55830
commit 2b8c942b4a
2 changed files with 5 additions and 1 deletions

View File

@ -292,7 +292,7 @@ def checkStability():
checkDynamicContent(firstPage, secondPage) checkDynamicContent(firstPage, secondPage)
if not Request.queryPage(): if not Request.queryPage():
errMsg = "target url is too dynamic. unable to continue. consider using other methods" errMsg = "target url is too dynamic. unable to continue. consider using other switches (e.g. --longest-common, --string, --text-only, etc.)"
logger.error(errMsg) logger.error(errMsg)
raise sqlmapSilentQuitException raise sqlmapSilentQuitException

View File

@ -1238,6 +1238,10 @@ def __basicOptionValidation():
errMsg = "switch --text-only is incompatible with switch --null-connection" errMsg = "switch --text-only is incompatible with switch --null-connection"
raise sqlmapSyntaxException, errMsg raise sqlmapSyntaxException, errMsg
if conf.longestCommon and conf.nullConnection:
errMsg = "switch --longest-common is incompatible with switch --null-connection"
raise sqlmapSyntaxException, errMsg
if conf.data and conf.nullConnection: if conf.data and conf.nullConnection:
errMsg = "switch --data is incompatible with switch --null-connection" errMsg = "switch --data is incompatible with switch --null-connection"
raise sqlmapSyntaxException, errMsg raise sqlmapSyntaxException, errMsg